Interface SecretsManagerSecretConfiguration.Builder

    • Method Detail

      • kmsKeyId

        SecretsManagerSecretConfiguration.Builder kmsKeyId​(String kmsKeyId)

        The proposed ARN, key ID, or alias of the KMS key.

        Parameters:
        kmsKeyId - The proposed ARN, key ID, or alias of the KMS key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • secretPolicy

        SecretsManagerSecretConfiguration.Builder secretPolicy​(String secretPolicy)

        The proposed resource policy defining who can access or manage the secret.

        Parameters:
        secretPolicy - The proposed resource policy defining who can access or manage the secret.
        Returns:
        Returns a reference to this object so that method calls can be chained together.