Skip to main content
  • An Enkryptify workspace with admin access
  • An AWS account with permissions to create IAM roles and policies
Enkryptify connects to your AWS account by assuming an IAM Role that you create. We use temporary credentials from sts:AssumeRole to manage secrets in AWS Secrets Manager.
  • Trust relationship:
    • Trusted entity: AWS Account 676206939822 (Enkryptify)
    • External ID: not required (will be added in a future update)
  • Required permissions on the assumed role (inline policy example below):
    • secretsmanager:GetSecretValue
    • secretsmanager:DescribeSecret
    • secretsmanager:PutSecretValue
    • secretsmanager:CreateSecret
    • secretsmanager:DeleteSecret
    • secretsmanager:TagResource
    • secretsmanager:UpdateSecret
You may scope the Resource to specific secret ARNs. The example uses * for simplicity.

Steps to complete

1

Create a new sync

  • Go to the Syncs tab of your project and click on AWS Secrets Manager.
2

Start IAM role creation (trust setup)

  • In AWS IAM → RolesCreate role.
  • Trusted entity type: AWS AccountAnother AWS Account.
  • Enter Account ID 676206939822.
  • External ID: not required (will be added in a future update). Start IAM role creation (trust setup)
3

Finish role creation

  • Skip the ‘Add permissions’ step.
  • Provide a role name and finish creation.
4

Attach Secrets Manager permissions

  • On the role page, go to PermissionsAdd permissionsCreate inline policyJSON, then paste:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSecretsManagerAccess",
      "Effect": "Allow",
      "Action": [
        "secretsmanager:GetSecretValue",
        "secretsmanager:DescribeSecret",
        "secretsmanager:PutSecretValue",
        "secretsmanager:CreateSecret",
        "secretsmanager:DeleteSecret",
        "secretsmanager:TagResource",
        "secretsmanager:UpdateSecret"
      ],
      "Resource": "*"
    }
  ]
}
Attach Secrets Manager permissionsPolicy editor
5

Copy the Role ARN

  • From the role’s Summary, copy the Role ARN. Copy the Role ARN
6

Authenticate in Enkryptify

  • Paste the Role ARN into Enkryptify to complete authentication.
  • Select the AWS region you want to sync secrets to.
7

Link an Enkryptify environment

  • Choose which Enkryptify environment to sync.
I