openstackclient.identity package

Submodules

openstackclient.identity.client module

class openstackclient.identity.client.IdentityClientv2(**kwargs)

Bases: keystoneclient.v2_0.client.Client

Tweak the earlier client class to deal with some changes

openstackclient.identity.client.build_option_parser(parser)

Hook to add global options

openstackclient.identity.client.make_client(instance)

Returns an identity service client.

openstackclient.identity.common module

Common identity code

openstackclient.identity.common.find_domain(identity_client, name_or_id)

Find a domain.

If the user does not have permissions to access the v3 domain API, e.g., if the user is a project admin, assume that the domain given is the id rather than the name. This method is used by the project list command, so errors accessing the domain will be ignored and if the user has access to the project API, everything will work fine.

Closes bugs #1317478 and #1317485.

openstackclient.identity.common.find_service(identity_client, name_type_or_id)

Find a service by id, name or type.

Module contents