When using the plugins via config file you define the plugin name as
auth_type
. The options of the plugin are then specified while replacing
-
with _
to be valid in configuration.
For example to use the password plugin in a config file you would specify:
[section]
auth_url = http://keystone.example.com:5000/
auth_type = password
username = myuser
password = mypassword
project_name = myproject
default_domain_name = mydomain
When using auth plugins via CLI via os-client-config
or shade
you can
specify parameters via environment configuration by using the pattern OS_
followed by the uppercase parameter name replacing -
with _
.
For example to use the password plugin via environment variable you specify:
export OS_AUTH_TYPE=password
export OS_AUTH_URL=http://keystone.example.com:5000/
export OS_USERNAME=myuser
export OS_PASSWORD=mypassword
export OS_PROJECT_NAME=myproject
export OS_DEFAULT_DOMAIN_NAME=mydomain
Specifying operations via CLI parameter will override the environment
parameter. These are specified with the pattern --os-
and the parameter
name. Using the password example again:
openstack --os-auth-type password \
--os-auth-url http://keystone.example.com:5000/ \
--os-username myuser \
--os-password mypassword \
--os-project-name myproject \
--os-default-domain-name mydomain \
operation
The configuration and CLI loaders are quite commonly used however similar
concepts are found in other situations such as os-client-config
in which
you specify authentication and other cloud parameters in a clouds.yaml
file.
Loaders such as these use the same plugin options listed below, but via their
own mechanism. In os-client-config
the password plugin looks like:
clouds:
mycloud:
auth_type: password
auth:
auth_url: http://keystone.example.com:5000/
auth_type: password
username: myuser
password: mypassword
project_name: myproject
default_domain_name: mydomain
However different services may implement loaders in their own way and you should consult their relevant documentation. The same auth options will be available.
This is a listing of all included plugins and the options that they accept. Plugins are listed alphabetically and not in any order of priority.
Use an existing token and a known endpoint to perform requests.
This plugin is primarily useful for development or for use with identity service ADMIN tokens. Because this token is used directly there is no fetching a service catalog or determining scope information and so it cannot be used by clients that expect use this scope information.
Because there is no service catalog the endpoint that is supplied with initialization is used for all operations performed with this plugin so must be the full base URL to an actual service.
The endpoint that will always be used
The token that will always be used
Use HTTP Basic authentication to perform requests.
This can be used to instantiate clients for services deployed in standalone mode.
There is no fetching a service catalog or determining scope information and so it cannot be used by clients that expect to use this scope information.
Username
User’s password
The endpoint that will always be used
Use no tokens to perform requests.
This can be used to instantiate clients for services deployed in noauth/standalone mode.
There is no fetching a service catalog or determining scope information and so it cannot be used by clients that expect to use this scope information.
The endpoint that will always be used
Authenticate via a username and password.
Authenticate to the identity service using an inbuilt username and password. This is the standard and most common form of authentication.
As a generic plugin this plugin is identity version independent and will discover available versions before use. This means it expects to be providen an unversioned URL to operate against.
Authentication URL
Scope for system operations
Domain ID to scope to
Domain name to scope to
Project ID to scope to
Project name to scope to
Domain ID containing project
Domain name containing project
ID of the trust to use as a trustee use
Optional domain ID to use with v3 and v2 parameters. It will be used for both the user and project domain in v3 and ignored in v2 authentication.
Optional domain name to use with v3 API and v2 parameters. It will be used for both the user and project domain in v3 and ignored in v2 authentication.
User id
Username
User’s domain id
User’s domain name
User’s password
Given an existing token rescope it to another target.
This plugin uses the Identity service’s rescope mechanism to get a new token based upon an existing token. Because an auth plugin requires a service catalog and scope information it is often easier to fetch a new token based on an existing one than validate and reuse the one you already have.
As a generic plugin this plugin is identity version independent and will discover available versions before use. This means it expects to be providen an unversioned URL to operate against.
Authentication URL
Scope for system operations
Domain ID to scope to
Domain name to scope to
Project ID to scope to
Project name to scope to
Domain ID containing project
Domain name containing project
ID of the trust to use as a trustee use
Optional domain ID to use with v3 and v2 parameters. It will be used for both the user and project domain in v3 and ignored in v2 authentication.
Optional domain name to use with v3 API and v2 parameters. It will be used for both the user and project domain in v3 and ignored in v2 authentication.
Token to authenticate with
Authentication URL
Tenant ID
Tenant Name
ID of the trust to use as a trustee use
Username to login with
User ID to login with
Password to use
Authentication URL
Tenant ID
Tenant Name
ID of the trust to use as a trustee use
Token
Authentication URL
Scope for system operations
Domain ID to scope to
Domain name to scope to
Project ID to scope to
Project name to scope to
Domain ID containing project
Domain name containing project
ID of the trust to use as a trustee use
Identity Provider’s name
Protocol for federated plugin
An Identity Provider URL, where the SAML authentication request will be sent.
Service Provider’s Endpoint
Service Provider’s SAML Entity ID
Username
Password
Authentication URL
Scope for system operations
Domain ID to scope to
Domain name to scope to
Project ID to scope to
Project name to scope to
Domain ID containing project
Domain name containing project
ID of the trust to use as a trustee use
User ID
Username
User’s domain id
User’s domain name
Application credential auth secret
Application credential ID
Application credential name
Authentication URL
Scope for system operations
Domain ID to scope to
Domain name to scope to
Project ID to scope to
Project name to scope to
Domain ID containing project
Domain name containing project
ID of the trust to use as a trustee use
Identity Provider’s name
Protocol for federated plugin
Configures Kerberos Mutual Authentication
Authentication URL
Scope for system operations
Domain ID to scope to
Domain name to scope to
Project ID to scope to
Project name to scope to
Domain ID containing project
Domain name containing project
ID of the trust to use as a trustee use
Configures Kerberos Mutual Authentication
Authentication URL
Scope for system operations
Domain ID to scope to
Domain name to scope to
Project ID to scope to
Project name to scope to
Domain ID containing project
Domain name containing project
ID of the trust to use as a trustee use
Methods to authenticate with.
Authentication URL
OAuth Consumer ID/Key
OAuth Consumer Secret
OAuth Access Key
OAuth Access Secret
Authentication URL
Scope for system operations
Domain ID to scope to
Domain name to scope to
Project ID to scope to
Project name to scope to
Domain ID containing project
Domain name containing project
ID of the trust to use as a trustee use
Identity Provider’s name
Protocol for federated plugin
OAuth 2.0 Access Token
Authentication URL
Scope for system operations
Domain ID to scope to
Domain name to scope to
Project ID to scope to
Project name to scope to
Domain ID containing project
Domain name containing project
ID of the trust to use as a trustee use
Identity Provider’s name
Protocol for federated plugin
OAuth 2.0 Client ID
OAuth 2.0 Client Secret
OpenID Connect scope that is requested from authorization server. Note that the OpenID Connect specification states that “openid” must be always specified.
OpenID Connect Provider Token Endpoint. Note that if a discovery document is being passed this option will override the endpoint provided by the server in the discovery document.
OpenID Connect Discovery Document URL. The discovery document will be used to obtain the values of the access token endpoint and the authentication endpoint. This URL should look like https://idp.example.org/.well-known/openid-configuration
OAuth 2.0 Authorization Server Introspection token type, it is used to decide which type of token will be used when processing token introspection. Valid values are: “access_token” or “id_token”
OpenID Connect Redirect URL
OAuth 2.0 Authorization Code
Authentication URL
Scope for system operations
Domain ID to scope to
Domain name to scope to
Project ID to scope to
Project name to scope to
Domain ID containing project
Domain name containing project
ID of the trust to use as a trustee use
Identity Provider’s name
Protocol for federated plugin
OAuth 2.0 Client ID
OAuth 2.0 Client Secret
OpenID Connect scope that is requested from authorization server. Note that the OpenID Connect specification states that “openid” must be always specified.
OpenID Connect Provider Token Endpoint. Note that if a discovery document is being passed this option will override the endpoint provided by the server in the discovery document.
OpenID Connect Discovery Document URL. The discovery document will be used to obtain the values of the access token endpoint and the authentication endpoint. This URL should look like https://idp.example.org/.well-known/openid-configuration
OAuth 2.0 Authorization Server Introspection token type, it is used to decide which type of token will be used when processing token introspection. Valid values are: “access_token” or “id_token”
Authentication URL
Scope for system operations
Domain ID to scope to
Domain name to scope to
Project ID to scope to
Project name to scope to
Domain ID containing project
Domain name containing project
ID of the trust to use as a trustee use
Identity Provider’s name
Protocol for federated plugin
OAuth 2.0 Client ID
OAuth 2.0 Client Secret
OpenID Connect scope that is requested from authorization server. Note that the OpenID Connect specification states that “openid” must be always specified.
OpenID Connect Provider Token Endpoint. Note that if a discovery document is being passed this option will override the endpoint provided by the server in the discovery document.
OpenID Connect Discovery Document URL. The discovery document will be used to obtain the values of the access token endpoint and the authentication endpoint. This URL should look like https://idp.example.org/.well-known/openid-configuration
OAuth 2.0 Authorization Server Introspection token type, it is used to decide which type of token will be used when processing token introspection. Valid values are: “access_token” or “id_token”
Username
Password
Authentication URL
Scope for system operations
Domain ID to scope to
Domain name to scope to
Project ID to scope to
Project name to scope to
Domain ID containing project
Domain name containing project
ID of the trust to use as a trustee use
User ID
Username
User’s domain id
User’s domain name
User’s password
Authentication URL
Scope for system operations
Domain ID to scope to
Domain name to scope to
Project ID to scope to
Project name to scope to
Domain ID containing project
Domain name containing project
ID of the trust to use as a trustee use
Identity Provider’s name
Protocol for federated plugin
An Identity Provider URL, where the SAML2 authentication request will be sent.
Username
Password
Authentication URL
Scope for system operations
Domain ID to scope to
Domain name to scope to
Project ID to scope to
Project name to scope to
Domain ID containing project
Domain name containing project
ID of the trust to use as a trustee use
Token to authenticate with
Authentication URL
Domain ID to scope to
Domain name to scope to
Project ID to scope to
Project name to scope to
Domain ID containing project
Domain name containing project
Authentication URL
Scope for system operations
Domain ID to scope to
Domain name to scope to
Project ID to scope to
Project name to scope to
Domain ID containing project
Domain name containing project
ID of the trust to use as a trustee use
User ID
Username
User’s domain id
User’s domain name
User’s TOTP passcode
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.