class Aws::SecretsManager::Types::SecretListEntry
A structure that contains the details about a secret. It does not include the encrypted `SecretString` and `SecretBinary` values. To get those values, use the GetSecretValue operation.
@!attribute [rw] arn
The Amazon Resource Name (ARN) of the secret. For more information about ARNs in Secrets Manager, see [Policy Resources][1] in the *Amazon Web Services Secrets Manager User Guide*. [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#iam-resources @return [String]
@!attribute [rw] name
The friendly name of the secret. You can use forward slashes in the name to represent a path hierarchy. For example, `/prod/databases/dbserver1` could represent the secret for a server named `dbserver1` in the folder `databases` in the folder `prod`. @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) used to encrypt the `SecretString` and `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 KMS CMK, the key named `awssecretsmanager`, for this account. @return [String]
@!attribute [rw] rotation_enabled
Indicates whether automatic, scheduled rotation is enabled for this secret. @return [Boolean]
@!attribute [rw] rotation_lambda_arn
The ARN of an Amazon Web Services Lambda function invoked by Secrets Manager to rotate and expire the secret either automatically per the schedule or manually by a call to RotateSecret. @return [String]
@!attribute [rw] rotation_rules
A structure that defines the rotation configuration for the secret. @return [Types::RotationRulesType]
@!attribute [rw] last_rotated_date
The most recent date and time that the Secrets Manager rotation process was successfully completed. This value is null if the secret hasn't ever rotated. @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
The date and time the deletion of the secret occurred. Not present on active secrets. The secret can be recovered until the number of days in the recovery window has passed, as specified in the `RecoveryWindowInDays` parameter of the DeleteSecret operation. @return [Time]
@!attribute [rw] tags
The list of user-defined tags associated with the secret. To add tags to a secret, use TagResource. To remove tags, use UntagResource. @return [Array<Types::Tag>]
@!attribute [rw] secret_versions_to_stages
A list of all of the currently assigned `SecretVersionStage` staging labels and the `SecretVersionId` attached to each one. 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 `SecretVersionStage` 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 the secret. @return [String]
@!attribute [rw] created_date
The date and time when a secret was created. @return [Time]
@!attribute [rw] primary_region
The Region where Secrets Manager originated the secret. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/SecretListEntry AWS API Documentation
Constants
- SENSITIVE