Bases: object
Bases: EntityManager
Bases: Resource
Object representing Identity Provider container.
id: user-defined unique string identifying Identity Provider.
Bases: CrudManager
Manager class for manipulating Identity Providers.
Create Identity Provider object.
Utilize Keystone URI: PUT /OS-FEDERATION/identity_providers/$identity_provider
id – unique id of the identity provider.
kwargs – optional attributes: description (str), domain_id (str), enabled (boolean) and remote_ids (list).
an IdentityProvider resource object.
keystoneclient.v3.federation.IdentityProvider
Delete Identity Provider object.
Utilize Keystone URI: DELETE /OS-FEDERATION/identity_providers/$identity_provider
identity_provider – the Identity Provider ID itself or an object with it stored inside.
Fetch Identity Provider object.
Utilize Keystone URI: GET /OS-FEDERATION/identity_providers/$identity_provider
identity_provider – an object with identity_provider_id stored inside.
an IdentityProvider resource object.
keystoneclient.v3.federation.IdentityProvider
List all Identity Providers.
Utilize Keystone URI: GET /OS-FEDERATION/identity_providers
a list of IdentityProvider resource objects.
List
alias of IdentityProvider
Update Identity Provider object.
Utilize Keystone URI: PATCH /OS-FEDERATION/identity_providers/$identity_provider
identity_provider – an object with identity_provider_id stored inside.
an IdentityProvider resource object.
keystoneclient.v3.federation.IdentityProvider
Bases: Resource
An object representing mapping container.
id: user defined unique string identifying mapping.
Bases: CrudManager
Manager class for manipulating federation mappings.
Create federation mapping.
Utilize Identity API operation: PUT /OS-FEDERATION/mappings/$mapping_id
mapping_id – user defined string identifier of the federation mapping.
rules – a list of mapping rules.
Example of the rules
parameter:
[
{
"local": [
{
"group": {
"id": "0cd5e9"
}
}
],
"remote": [
{
"type": "orgPersonType",
"not_any_of": [
"Contractor",
"Guest"
]
}
]
}
]
Delete federation mapping identified by mapping id.
Utilize Identity API operation: DELETE /OS-FEDERATION/mappings/$mapping_id
mapping – a Mapping type object with mapping id stored inside.
Fetch federation mapping identified by mapping id.
Utilize Identity API operation: GET /OS-FEDERATION/mappings/$mapping_id
mapping – a Mapping type object with mapping id stored inside.
List all federation mappings.
Utilize Identity API operation: GET /OS-FEDERATION/mappings
Update federation mapping identified by mapping id.
Utilize Identity API operation: PATCH /OS-FEDERATION/mappings/$mapping_id
mapping – a Mapping type object with mapping id stored inside.
rules – a list of mapping rules.
Example of the rules
parameter:
[
{
"local": [
{
"group": {
"id": "0cd5e9"
}
}
],
"remote": [
{
"type": "orgPersonType",
"not_any_of": [
"Contractor",
"Guest"
]
}
]
}
]
Bases: EntityManager
Bases: Resource
An object representing federation protocol container.
federation protocol.
Bases: CrudManager
Manager class for manipulating federation protocols.
Build URL for federation protocols.
Create federation protocol object and tie to the Identity Provider.
Utilize Identity API operation: PUT /OS-FEDERATION/identity_providers/ $identity_provider/protocols/$protocol
protocol_id – a string type parameter identifying a federation protocol
identity_provider – a string type parameter identifying an Identity Provider
mapping – a base.Resource object with federation mapping id
Delete Protocol object tied to the Identity Provider.
Utilize Identity API operation: DELETE /OS-FEDERATION/identity_providers/ $identity_provider/protocols/$protocol
identity_provider – a base.Resource type object with Identity Provider id stored inside
protocol – a base.Resource type object with federation protocol id stored inside
Fetch federation protocol object tied to the Identity Provider.
Utilize Identity API operation: GET /OS-FEDERATION/identity_providers/ $identity_provider/protocols/$protocol
identity_provider – a base.Resource type object with Identity Provider id stored inside
protocol – a base.Resource type object with federation protocol id stored inside
List all federation protocol objects tied to the Identity Provider.
Utilize Identity API operation: GET /OS-FEDERATION/identity_providers/ $identity_provider/protocols
identity_provider – a base.Resource type object with Identity Provider id stored inside
Update Protocol object tied to the Identity Provider.
Utilize Identity API operation: PATCH /OS-FEDERATION/identity_providers/ $identity_provider/protocols/$protocol
identity_provider – a base.Resource type object with Identity Provider id stored inside
protocol – a base.Resource type object with federation protocol id stored inside
mapping – a base.Resource object with federation mapping id
Bases: Manager
Manager class for creating SAML assertions.
Create an ECP wrapped SAML assertion from a token.
Equivalent Identity API call: POST /auth/OS-FEDERATION/saml2/ecp
service_provider (string) – Service Provider resource.
token_id (string) – Token to transform to SAML assertion.
SAML representation of token_id, wrapped in ECP envelope
string
Create a SAML assertion from a token.
Equivalent Identity API call: POST /auth/OS-FEDERATION/saml2
service_provider (string) – Service Provider resource.
token_id (string) – Token to transform to SAML assertion.
SAML representation of token_id
string
Bases: Resource
Object representing Service Provider container.
id: user-defined unique string identifying Service Provider.
sp_url: the shibboleth endpoint of a Service Provider.
auth_url: the authentication url of Service Provider.
Bases: CrudManager
Manager class for manipulating Service Providers.
Create Service Provider object.
Utilize Keystone URI:
PUT /OS-FEDERATION/service_providers/{id}
id – unique id of the service provider.
Delete Service Provider object.
Utilize Keystone URI:
DELETE /OS-FEDERATION/service_providers/{id}
service_provider – an object with service_provider_id stored inside.
Fetch Service Provider object.
Utilize Keystone URI:
GET /OS-FEDERATION/service_providers/{id}
service_provider – an object with service_provider_id stored inside.
List all Service Providers.
Utilize Keystone URI:
GET /OS-FEDERATION/service_providers
alias of ServiceProvider
Update the existing Service Provider object on the server.
Only properties provided to the function are being updated.
Utilize Keystone URI:
PATCH /OS-FEDERATION/service_providers/{id}
service_provider – an object with service_provider_id stored inside.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.