The Credential
class inherits from Resource
.
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()
and
Resource.existing()
.
Parameters: |
|
---|
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
or cert
.
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
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.