KeyVersionSummary

class oci.key_management.models.KeyVersionSummary(**kwargs)

Bases: object

KeyVersionSummary model.

__init__(**kwargs)

Initializes a new KeyVersionSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • compartment_id (str) -- The value to assign to the compartment_id property of this KeyVersionSummary.
  • id (str) -- The value to assign to the id property of this KeyVersionSummary.
  • key_id (str) -- The value to assign to the key_id property of this KeyVersionSummary.
  • time_created (datetime) -- The value to assign to the time_created property of this KeyVersionSummary.
  • vault_id (str) -- The value to assign to the vault_id property of this KeyVersionSummary.
compartment_id

[Required] Gets the compartment_id of this KeyVersionSummary. The OCID of the compartment that contains this key version.

Returns:The compartment_id of this KeyVersionSummary.
Return type:str
id

[Required] Gets the id of this KeyVersionSummary. The OCID of the key version.

Returns:The id of this KeyVersionSummary.
Return type:str
key_id

[Required] Gets the key_id of this KeyVersionSummary. The OCID of the key associated with this key version.

Returns:The key_id of this KeyVersionSummary.
Return type:str
time_created

[Required] Gets the time_created of this KeyVersionSummary. The date and time this key version was created, expressed in RFC 3339 timestamp format.

Example: 2018-04-03T21:10:29.600Z

Returns:The time_created of this KeyVersionSummary.
Return type:datetime
vault_id

[Required] Gets the vault_id of this KeyVersionSummary. The OCID of the vault that contains this key version.

Returns:The vault_id of this KeyVersionSummary.
Return type:str