Skip to content

Commit

Permalink
Improve the README to explain which env vars are required to authenti…
Browse files Browse the repository at this point in the history
…cate
  • Loading branch information
sergiocazzolato committed Mar 6, 2024
1 parent 15c7274 commit da9a266
Showing 1 changed file with 42 additions and 8 deletions.
50 changes: 42 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -932,20 +932,54 @@ backends:
```

The Openstack backend gets all the information to authenticate from the
environment variables. The following variables have to be set:
environment variables. These are the supported variables (in all cases at
least one env var has to be set):

The URL to authenticate against
```
OS_AUTH_URL
OS_PROJECT_ID
OS_PROJECT_NAME
OS_USER_DOMAIN_NAME
OS_PROJECT_DOMAIN_ID (optional)
OS_TENANT_ID
OS_TENANT_NAME
```

The username to authenticate as
```
OS_USERNAME
OS_ACCESS_KEY
```

The secrets to pass
```
OS_PASSWORD
OS_SECRET_KEY
```

Region to send requests to
```
OS_REGION_NAME
OS_INTERFACE
```

The project name and ID for this connection
```
OS_TENANT_ID
OS_PROJECT_ID
OS_PROJECT_NAME
OS_TENANT_NAME
```

The Keystone version
```
OS_AUTH_VERSION
OS_IDENTITY_API_VERSION
```

The domain for authorization (new in keystone v3)
```
OS_DEFAULT_DOMAIN_NAME
OS_PROJECT_DOMAIN_NAME
OS_USER_DOMAIN_NAME
```

You can set up those variables by sourcing the Openstack RC file.
Expand Down

0 comments on commit da9a266

Please sign in to comment.