Interface CustomerManagedEncryption.Builder

  • Method Details

    • kmsKeyIdentifier

      CustomerManagedEncryption.Builder kmsKeyIdentifier(String kmsKeyIdentifier)

      Identifier of the customer-managed KMS key used to encrypt cached tokens. Accepts a key ARN ( ...:key/<id>), an alias ARN (...:alias/<name>), or a bare alias name ( alias/<name>). Any alias is dereferenced to its underlying key ARN via kms:DescribeKey at create/update time, and only the resolved key ARN is persisted and returned, a KMS alias is a mutable pointer, so pinning the key ARN keeps the configuration stable. A bare alias name resolves in the caller's own account and Region; to reference a key in a different account (cross-account), supply a full key ARN or alias ARN so the account is explicit.

      Parameters:
      kmsKeyIdentifier - Identifier of the customer-managed KMS key used to encrypt cached tokens. Accepts a key ARN ( ...:key/<id>), an alias ARN (...:alias/<name>), or a bare alias name (alias/<name>). Any alias is dereferenced to its underlying key ARN via kms:DescribeKey at create/update time, and only the resolved key ARN is persisted and returned, a KMS alias is a mutable pointer, so pinning the key ARN keeps the configuration stable. A bare alias name resolves in the caller's own account and Region; to reference a key in a different account (cross-account), supply a full key ARN or alias ARN so the account is explicit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.