SecretBundleVersionSummary¶
-
class
oci.secrets.models.
SecretBundleVersionSummary
(**kwargs)¶ Bases:
object
The properties of the secret bundle. (Secret bundle version summary objects do not include the actual contents of the secret.)
Attributes
STAGES_CURRENT
A constant which can be used with the stages property of a SecretBundleVersionSummary. STAGES_DEPRECATED
A constant which can be used with the stages property of a SecretBundleVersionSummary. STAGES_LATEST
A constant which can be used with the stages property of a SecretBundleVersionSummary. STAGES_PENDING
A constant which can be used with the stages property of a SecretBundleVersionSummary. STAGES_PREVIOUS
A constant which can be used with the stages property of a SecretBundleVersionSummary. secret_id
[Required] Gets the secret_id of this SecretBundleVersionSummary. stages
Gets the stages of this SecretBundleVersionSummary. time_created
Gets the time_created of this SecretBundleVersionSummary. time_of_deletion
Gets the time_of_deletion of this SecretBundleVersionSummary. time_of_expiry
Gets the time_of_expiry of this SecretBundleVersionSummary. version_name
Gets the version_name of this SecretBundleVersionSummary. version_number
[Required] Gets the version_number of this SecretBundleVersionSummary. Methods
__init__
(**kwargs)Initializes a new SecretBundleVersionSummary object with values from keyword arguments. -
STAGES_CURRENT
= 'CURRENT'¶ A constant which can be used with the stages property of a SecretBundleVersionSummary. This constant has a value of “CURRENT”
-
STAGES_DEPRECATED
= 'DEPRECATED'¶ A constant which can be used with the stages property of a SecretBundleVersionSummary. This constant has a value of “DEPRECATED”
-
STAGES_LATEST
= 'LATEST'¶ A constant which can be used with the stages property of a SecretBundleVersionSummary. This constant has a value of “LATEST”
-
STAGES_PENDING
= 'PENDING'¶ A constant which can be used with the stages property of a SecretBundleVersionSummary. This constant has a value of “PENDING”
-
STAGES_PREVIOUS
= 'PREVIOUS'¶ A constant which can be used with the stages property of a SecretBundleVersionSummary. This constant has a value of “PREVIOUS”
-
__init__
(**kwargs)¶ Initializes a new SecretBundleVersionSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - secret_id (str) – The value to assign to the secret_id property of this SecretBundleVersionSummary.
- time_created (datetime) – The value to assign to the time_created property of this SecretBundleVersionSummary.
- version_number (int) – The value to assign to the version_number property of this SecretBundleVersionSummary.
- version_name (str) – The value to assign to the version_name property of this SecretBundleVersionSummary.
- time_of_deletion (datetime) – The value to assign to the time_of_deletion property of this SecretBundleVersionSummary.
- time_of_expiry (datetime) – The value to assign to the time_of_expiry property of this SecretBundleVersionSummary.
- stages (list[str]) – The value to assign to the stages property of this SecretBundleVersionSummary. Allowed values for items in this list are: “CURRENT”, “PENDING”, “LATEST”, “PREVIOUS”, “DEPRECATED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
secret_id
¶ [Required] Gets the secret_id of this SecretBundleVersionSummary. The OCID of the secret.
Returns: The secret_id of this SecretBundleVersionSummary. Return type: str
-
stages
¶ Gets the stages of this SecretBundleVersionSummary. A list of possible rotation states for the secret bundle.
Allowed values for items in this list are: “CURRENT”, “PENDING”, “LATEST”, “PREVIOUS”, “DEPRECATED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The stages of this SecretBundleVersionSummary. Return type: list[str]
-
time_created
¶ Gets the time_created of this SecretBundleVersionSummary. The time when the secret bundle was created.
Returns: The time_created of this SecretBundleVersionSummary. Return type: datetime
-
time_of_deletion
¶ Gets the time_of_deletion of this SecretBundleVersionSummary. An optional property indicating when to delete the secret version, expressed in RFC 3339 timestamp format. Example: 2019-04-03T21:10:29.600Z
Returns: The time_of_deletion of this SecretBundleVersionSummary. Return type: datetime
-
time_of_expiry
¶ Gets the time_of_expiry of this SecretBundleVersionSummary. An optional property indicating when the secret version will expire, expressed in RFC 3339 timestamp format. Example: 2019-04-03T21:10:29.600Z
Returns: The time_of_expiry of this SecretBundleVersionSummary. Return type: datetime
-
version_name
¶ Gets the version_name of this SecretBundleVersionSummary. The version name of the secret bundle, as provided when the secret was created or last rotated.
Returns: The version_name of this SecretBundleVersionSummary. Return type: str
-
version_number
¶ [Required] Gets the version_number of this SecretBundleVersionSummary. The version number of the secret.
Returns: The version_number of this SecretBundleVersionSummary. Return type: int
-