openstack.identity.v3.credential¶
The Credential Class¶
The Credential
class inherits from Resource
.
-
class
openstack.identity.v3.credential.
Credential
(attrs=None, loaded=False)¶ Construct a Resource to interact with a service’s REST API.
The Resource class offers two class methods to construct resource objects, which are preferrable to entering through this initializer. See
Resource.new()
andResource.existing()
.Parameters: - attrs (dict) – The attributes to set when constructing this Resource.
- loaded (bool) –
True
if this Resource exists on the server,False
if it does not.
-
blob
= None¶ Arbitrary blob of the credential data, to be parsed according to the
type
. Type: string
-
project_id
= None¶ References a project ID which limits the scope the credential applies to. This attribute is mandatory if the credential type is
ec2
. Type: string
-
type
= None¶ Representing the credential type, such as
ec2
orcert
. A specific implementation may determine the list of supported types. Type: string
-
user_id
= None¶ References the user ID which owns the credential. Type: string