You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SecurityHub::Types::AwsSecretsManagerSecretDetails

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AwsSecretsManagerSecretDetails as input to an Aws::Client method, you can use a vanilla Hash:

{
  rotation_rules: {
    automatically_after_days: 1,
  },
  rotation_occurred_within_frequency: false,
  kms_key_id: "NonEmptyString",
  rotation_enabled: false,
  rotation_lambda_arn: "NonEmptyString",
  deleted: false,
  name: "NonEmptyString",
  description: "NonEmptyString",
}

Details about an AWS Secrets Manager secret.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#deleted ⇒ Boolean

Whether the secret is deleted.

Returns:

  • (Boolean) —

    Whether the secret is deleted.

#description ⇒ String

The user-provided description of the secret.

Returns:

  • (String) —

    The user-provided description of the secret.

#kms_key_id ⇒ String

The ARN, Key ID, or alias of the AWS KMS customer master key (CMK) used to encrypt the SecretString or SecretBinary values for versions of this secret.

Returns:

  • (String) —

    The ARN, Key ID, or alias of the AWS KMS customer master key (CMK) used to encrypt the SecretString or SecretBinary values for versions of this secret.

#name ⇒ String

The name of the secret.

Returns:

  • (String) —

    The name of the secret.

#rotation_enabled ⇒ Boolean

Whether rotation is enabled.

Returns:

  • (Boolean) —

    Whether rotation is enabled.

#rotation_lambda_arn ⇒ String

The ARN of the Lambda function that rotates the secret.

Returns:

  • (String) —

    The ARN of the Lambda function that rotates the secret.

#rotation_occurred_within_frequency ⇒ Boolean

Whether the rotation occurred within the specified rotation frequency.

Returns:

  • (Boolean) —

    Whether the rotation occurred within the specified rotation frequency.

#rotation_rules ⇒ Types::AwsSecretsManagerSecretRotationRules

Defines the rotation schedule for the secret.

Returns: