class Aws::SecretsManager::Types::DescribeSecretResponse
@!attribute [rw] arn
The ARN of the secret. @return [String]
@!attribute [rw] name
The user-provided friendly name of the secret. @return [String]
@!attribute [rw] description
The user-provided description of the secret. @return [String]
@!attribute [rw] kms_key_id
The ARN or alias of the Amazon Web Services 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 Amazon Web Services KMS CMK (the one named `awssecretsmanager`) for this account. @return [String]
@!attribute [rw] rotation_enabled
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. @return [Boolean]
@!attribute [rw] rotation_lambda_arn
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`. @return [String]
@!attribute [rw] rotation_rules
A structure with the rotation configuration for this secret. @return [Types::RotationRulesType]
@!attribute [rw] last_rotated_date
The last date and time that the rotation process for this secret was invoked. The most recent date and time that the Secrets Manager rotation process successfully completed. If the secret doesn't rotate, Secrets Manager returns a null value. @return [Time]
@!attribute [rw] last_changed_date
The last date and time that this secret was modified in any way. @return [Time]
@!attribute [rw] last_accessed_date
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. @return [Time]
@!attribute [rw] deleted_date
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. @return [Time]
@!attribute [rw] tags
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. @return [Array<Types::Tag>]
@!attribute [rw] version_ids_to_stages
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. <note markdown="1"> A version that does not have any staging labels attached is considered deprecated and subject to deletion. Such versions are not included in this list. </note> @return [Hash<String,Array<String>>]
@!attribute [rw] owning_service
Returns the name of the service that created this secret. @return [String]
@!attribute [rw] created_date
The date you created the secret. @return [Time]
@!attribute [rw] primary_region
Specifies the primary region for secret replication. @return [String]
@!attribute [rw] replication_status
Describes a list of replication status objects as `InProgress`, `Failed` or `InSync`.`P` @return [Array<Types::ReplicationStatusType>]
@see docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/DescribeSecretResponse AWS API Documentation
Constants
- SENSITIVE