You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SecretsManager::Types::DescribeSecretResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecretsManager::Types::DescribeSecretResponse
- Defined in:
- (unknown)
Overview
Returned by:
Instance Attribute Summary collapse
-
#arn ⇒ String
The ARN of the secret.
-
#created_date ⇒ Time
The date that the secret was created.
-
#deleted_date ⇒ Time
This value exists if the secret is scheduled for deletion.
-
#description ⇒ String
The user-provided description of the secret.
-
#kms_key_id ⇒ String
The ARN or alias of the AWS KMS customer master key (CMK) that\'s used to encrypt the
SecretString
orSecretBinary
fields in each version of the secret. -
#last_accessed_date ⇒ Time
The last date that this secret was accessed.
-
#last_changed_date ⇒ Time
The last date and time that this secret was modified in any way.
-
#last_rotated_date ⇒ Time
The most recent date and time that the Secrets Manager rotation process was successfully completed.
-
#name ⇒ String
The user-provided friendly name of the secret.
-
#owning_service ⇒ String
Returns the name of the service that created this secret.
-
#rotation_enabled ⇒ Boolean
Specifies whether automatic rotation is enabled for this secret.
-
#rotation_lambda_arn ⇒ String
The ARN of a Lambda function that\'s invoked by Secrets Manager to rotate the secret either automatically per the schedule or manually by a call to
RotateSecret
. -
#rotation_rules ⇒ Types::RotationRulesType
A structure that contains the rotation configuration for this secret.
-
#tags ⇒ Array<Types::Tag>
The list of user-defined tags that are associated with the secret.
-
#version_ids_to_stages ⇒ Hash<String,Array<String>>
A list of all of the currently assigned
VersionStage
staging labels and theVersionId
that each is attached to.
Instance Attribute Details
#arn ⇒ String
The ARN of the secret.
#created_date ⇒ Time
The date that the secret was created.
#deleted_date ⇒ Time
This value exists if the secret is scheduled for deletion. Some time after the specified date and time, Secrets Manager deletes the secret and all of its versions.
If a secret is scheduled for deletion, then its details, including the encrypted secret information, is not accessible. To cancel a scheduled deletion and restore access, use RestoreSecret.
#description ⇒ String
The user-provided description of the secret.
#kms_key_id ⇒ String
The ARN or alias of the AWS KMS customer master key (CMK) that\'s used
to encrypt the SecretString
or SecretBinary
fields in each version
of the secret. If you don\'t provide a key, then Secrets Manager
defaults to encrypting the secret fields with the default AWS KMS CMK
(the one named awssecretsmanager
) for this account.
#last_accessed_date ⇒ Time
The last date that this secret was accessed. This value is truncated to midnight of the date and therefore shows only the date, not the time.
#last_changed_date ⇒ Time
The last date and time that this secret was modified in any way.
#last_rotated_date ⇒ Time
The most recent date and time that the Secrets Manager rotation process was successfully completed. This value is null if the secret has never rotated.
#name ⇒ String
The user-provided friendly name of the secret.
#owning_service ⇒ String
Returns the name of the service that created this secret.
#rotation_enabled ⇒ Boolean
Specifies whether automatic rotation is enabled for this secret.
To enable rotation, use RotateSecret with
AutomaticallyRotateAfterDays
set to a value greater than 0. To disable
rotation, use CancelRotateSecret.
#rotation_lambda_arn ⇒ String
The ARN of a Lambda function that\'s invoked by Secrets Manager to
rotate the secret either automatically per the schedule or manually by a
call to RotateSecret
.
#rotation_rules ⇒ Types::RotationRulesType
A structure that contains the rotation configuration for this secret.
#tags ⇒ Array<Types::Tag>
The list of user-defined tags that are associated with the secret. To add tags to a secret, use TagResource. To remove tags, use UntagResource.
#version_ids_to_stages ⇒ Hash<String,Array<String>>
A list of all of the currently assigned VersionStage
staging labels
and the VersionId
that each is attached to. Staging labels are used to
keep track of the different versions during the rotation process.