Skip to main content

Prerequisites

  • An active AWS account with permission to create IAM roles and KMS keys
  • An existing Customer Managed Key (CMK) in the target AWS region — symmetric, ENCRYPT_DECRYPT key usage (not an AWS-managed key)
  • IAM Role (recommended): permission to create an IAM role in your AWS account and configure a cross-account trust relationship
  • Static Credentials: an IAM user with programmatic access keys

Adding the connection in Enclave

  1. Navigate to Security → Key Management → BYOK Connections
  2. Click Add KMS Connection
  3. Select AWS KMS as the provider
  4. Choose your auth method and fill in the required fields (see tabs below)
  5. Click Save — Enclave runs an automatic connection test

Setup


Key policy requirement

In addition to the IAM policy on the role or user, the KMS key policy itself must grant the principal permission to use the key. If your CMK uses the default key policy, IAM policies are sufficient. If you have a custom key policy, ensure it includes a statement like:

After connecting

Once saved and showing Active status, provision one or more CMKs against this connection, then assign an Encryption Policy to activate key usage. See Key Management for details.