Kerberos authentication plugins.
Warning
This module requires installation of an extra package (requests_kerberos) not installed by default. Without the extra package an import error will occur. The extra package can be installed using:
$ pip install keystoneauth1[kerberos]
keystoneauth1.extras.kerberos.
Kerberos
(auth_url, *args, **kwargs)¶keystoneauth1.extras.kerberos.
KerberosMethod
(*args, **kwargs)¶Bases: keystoneauth1.identity.v3.base.AuthMethod
get_auth_data
(session, auth, headers, request_kwargs, **kwargs)¶Return the authentication section of an auth plugin.
Parameters: |
|
---|---|
Returns: | The identifier of this plugin and a dict of authentication data for the auth type. |
Return type: |
keystoneauth1.extras.kerberos.
MappedKerberos
(auth_url, identity_provider, protocol, mutual_auth=None, **kwargs)¶Bases: keystoneauth1.identity.v3.federation.FederationBaseAuth
Authenticate using Kerberos via the keystone federation mechanisms.
This uses the OS-FEDERATION extension to gain an unscoped token and then use the standard keystone auth process to scope that to any given project.
get_unscoped_auth_ref
(session, **kwargs)¶Fetch unscoped federated token.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.