Bases: object
Create an identity provider.
idp_id (string) – ID of IdP object
idp (dict) – idp object
idp ref
dict
Create a mapping.
mapping_id (string) – ID of mapping object
mapping (dict) – mapping ref with mapping name
mapping ref
dict
Add an IdP-Protocol configuration.
idp_id (string) – ID of IdP object
protocol_id (string) – ID of protocol object
protocol (dict) – protocol object
keystone.exception.IdentityProviderNotFound – If the IdP doesn’t exist.
protocol ref
dict
Create a service provider.
sp_id (string) – id of the service provider
sp (dict) – service provider object
service provider ref
dict
Delete an identity provider.
idp_id (string) – ID of IdP object
keystone.exception.IdentityProviderNotFound – If the IdP doesn’t exist.
Delete a mapping.
mapping_id – id of mapping to delete
None
Delete an IdP-Protocol configuration.
idp_id (string) – ID of IdP object
protocol_id (string) – ID of protocol object
keystone.exception.IdentityProviderNotFound – If the IdP doesn’t exist.
keystone.exception.FederatedProtocolNotFound – If the federated protocol cannot be found.
Delete a service provider.
sp_id (string) – id of the service provider
keystone.exception.ServiceProviderNotFound – If the service provider doesn’t exist.
List enabled service providers for Service Catalog.
Service Provider in a catalog contains three attributes: id
,
auth_url
, sp_url
, where:
id is a unique, user defined identifier for service provider object
auth_url is an authentication URL of remote Keystone
sp_url a URL accessible at the remote service provider where SAML assertion is transmitted.
list of dictionaries with enabled service providers
list of dicts
Get an identity provider by ID.
idp_id (string) – ID of IdP object
keystone.exception.IdentityProviderNotFound – If the IdP doesn’t exist.
idp ref
dict
Get an identity provider by remote ID.
remote_id – ID of remote IdP
keystone.exception.IdentityProviderNotFound – If the IdP doesn’t exist.
idp ref
dict
Get a mapping, returns the mapping based on mapping_id.
mapping_id – id of mapping to get
keystone.exception.MappingNotFound – If the mapping cannot be found.
mapping ref
dict
Get mapping based on idp_id and protocol_id.
idp_id (string) – id of the identity provider
protocol_id (string) – id of the protocol
keystone.exception.IdentityProviderNotFound – If the IdP doesn’t exist.
keystone.exception.FederatedProtocolNotFound – If the federated protocol cannot be found.
mapping ref
dict
Get an IdP-Protocol configuration.
idp_id (string) – ID of IdP object
protocol_id (string) – ID of protocol object
keystone.exception.IdentityProviderNotFound – If the IdP doesn’t exist.
keystone.exception.FederatedProtocolNotFound – If the federated protocol cannot be found.
protocol ref
dict
Get a service provider.
sp_id (string) – id of the service provider
service provider ref
dict
keystone.exception.ServiceProviderNotFound – If the service provider doesn’t exist.
List all identity providers.
hints – filter hints which the driver should implement if at all possible.
list of idp refs
list of dicts
keystone.exception.IdentityProviderNotFound – If the IdP doesn’t exist.
List all mappings.
list of mapping refs
list of dicts
List an IdP’s supported protocols.
idp_id (string) – ID of IdP object
keystone.exception.IdentityProviderNotFound – If the IdP doesn’t exist.
list of protocol ref
list of dict
List all service providers.
hints – filter hints which the driver should implement if at all possible.
List of service provider ref objects
list of dicts
keystone.exception.ServiceProviderNotFound – If the SP doesn’t exist.
Update an identity provider by ID.
idp_id (string) – ID of IdP object
idp (dict) – idp object
keystone.exception.IdentityProviderNotFound – If the IdP doesn’t exist.
idp ref
dict
Update a mapping.
mapping_id (string) – id of mapping to update
mapping_ref (dict) – new mapping ref
mapping ref
dict
Change an IdP-Protocol configuration.
idp_id (string) – ID of IdP object
protocol_id (string) – ID of protocol object
protocol (dict) – protocol object
keystone.exception.IdentityProviderNotFound – If the IdP doesn’t exist.
keystone.exception.FederatedProtocolNotFound – If the federated protocol cannot be found.
protocol ref
dict
Update a service provider.
sp_id (string) – id of the service provider
sp (dict) – service prvider object
service provider ref
dict
keystone.exception.ServiceProviderNotFound – If the service provider doesn’t exist.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.