openstack.key_manager.v1.secret¶
The Secret Class¶
The Secret class inherits from Resource.
-
class
openstack.key_manager.v1.secret.Secret(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) –
Trueif this Resource exists on the server,Falseif it does not.
-
algorithm= None¶ Metadata provided by a user or system for informational purposes
-
bit_length= None¶ Metadata provided by a user or system for informational purposes. Value must be greater than zero.
-
content_types= None¶ A list of content types
-
expires_at= None¶ Once this timestamp has past, the secret will no longer be available.
-
mode= None¶ The type/mode of the algorithm associated with the secret information.
-
name= None¶ The name of the secret set by the user
-
secret_ref= None¶ A URI to the sercret
-
status= None¶ The status of this secret
-
updated_at= None¶ A timestamp when this secret was updated