NAME

Paws::SecretsManager::SecretListEntry

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::SecretsManager::SecretListEntry object:

$service_obj->Method(Att1 => { ARN => $value, ..., Tags => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::SecretsManager::SecretListEntry object:

$result = $service_obj->Method(...);
$result->Att1->ARN

DESCRIPTION

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.

ATTRIBUTES

ARN => Str

The Amazon Resource Name (ARN) of the secret.

For more information about ARNs in Secrets Manager, see Policy Resources (https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#iam-resources) in the AWS Secrets Manager User Guide.

CreatedDate => Str

The date and time when a secret was created.

DeletedDate => Str

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.

Description => Str

The user-provided description of the secret.

KmsKeyId => Str

The ARN or alias of the AWS 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.

LastAccessedDate => Str

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.

LastChangedDate => Str

The last date and time that this secret was modified in any way.

LastRotatedDate => Str

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.

Name => Str

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.

OwningService => Str

Returns the name of the service that created the secret.

PrimaryRegion => Str

The Region where Secrets Manager originated the secret.

RotationEnabled => Bool

Indicates whether automatic, scheduled rotation is enabled for this secret.

RotationLambdaARN => Str

The ARN of an AWS Lambda function invoked by Secrets Manager to rotate and expire the secret either automatically per the schedule or manually by a call to RotateSecret.

RotationRules => Paws::SecretsManager::RotationRulesType

A structure that defines the rotation configuration for the secret.

SecretVersionsToStages => Paws::SecretsManager::SecretVersionsToStagesMapType

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.

A version that does not have any SecretVersionStage is considered deprecated and subject to deletion. Such versions are not included in this list.

Tags => ArrayRef[Paws::SecretsManager::Tag]

The list of user-defined tags associated with the secret. To add tags to a secret, use TagResource. To remove tags, use UntagResource.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::SecretsManager

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues