SecretListEntry class
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.
Constructors
-
SecretListEntry.new({String? arn, DateTime? createdDate, DateTime? deletedDate, String? description, String? kmsKeyId, DateTime? lastAccessedDate, DateTime? lastChangedDate, DateTime? lastRotatedDate, String? name, String? owningService, bool? rotationEnabled, String? rotationLambdaARN, RotationRulesType? rotationRules, Map<
String, List< ? secretVersionsToStages, List<String> >Tag> ? tags}) -
SecretListEntry.fromJson(Map<
String, dynamic> json) -
factory
Properties
- arn → String?
-
The Amazon Resource Name (ARN) of the secret.
final
- createdDate → DateTime?
-
The date and time when a secret was created.
final
- deletedDate → DateTime?
-
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.final - description → String?
-
The user-provided description of the secret.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kmsKeyId → String?
-
The ARN or alias of the AWS KMS customer master key (CMK) used to encrypt
the
SecretString
andSecretBinary
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 namedawssecretsmanager
, for this account.final - lastAccessedDate → DateTime?
-
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.
final
- lastChangedDate → DateTime?
-
The last date and time that this secret was modified in any way.
final
- lastRotatedDate → DateTime?
-
The last date and time that the rotation process for this secret was
invoked.
final
- name → String?
-
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 nameddbserver1
in the folderdatabases
in the folderprod
.final - owningService → String?
-
Returns the name of the service that created the secret.
final
- rotationEnabled → bool?
-
Indicates whether automatic, scheduled rotation is enabled for this secret.
final
- rotationLambdaARN → String?
-
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.
final
- rotationRules → RotationRulesType?
-
A structure that defines the rotation configuration for the secret.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secretVersionsToStages
→ Map<
String, List< ?String> > -
A list of all of the currently assigned
SecretVersionStage
staging labels and theSecretVersionId
attached to each one. Staging labels are used to keep track of the different versions during the rotation process.final -
The list of user-defined tags associated with the secret. To add tags to a
secret, use TagResource. To remove tags, use UntagResource.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited