Skip to main content
Available on AWS Managed Clusters. You can also access AWS Secrets Manager from a GCP Managed Cluster using cross-cloud static credentials.

From an AWS Managed Cluster

Choose the authentication method that best fits your security requirements:
This authentication gives you access to all secrets located in the same AWS account as your cluster.
AWS Automatic & AWS Role authentications are mutually exclusive.
This is the simplest and quickest way to use your external secrets inside your services.The following information is required:
  • The target AWS Region where your secrets live
  • The secret manager access name
Configure AWS Automatic authentication
Qovery automatically creates an AWS IAM Role with the following permissions:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "secretsmanager:GetResourcePolicy",
        "secretsmanager:GetSecretValue",
        "secretsmanager:DescribeSecret",
        "secretsmanager:ListSecretVersionIds",
        "secretsmanager:ListSecrets"
      ],
      "Resource": "*"
    }
  ]
}

From a GCP Managed Cluster (cross-cloud)

You can access AWS Secrets Manager from a GCP cluster using static credentials. The following information is required:
  • Your AWS Access Key
  • Your AWS Secret Access Key
  • The target AWS Region where your secrets live
  • The secret manager access name
You need to configure the following permissions:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "secretsmanager:GetResourcePolicy",
        "secretsmanager:GetSecretValue",
        "secretsmanager:DescribeSecret",
        "secretsmanager:ListSecretVersionIds",
        "secretsmanager:ListSecrets"
      ],
      "Resource": "*"
    }
  ]
}
You can restrict access to specific resources using wildcards.However, secretsmanager:ListSecrets must always target Resource: "*" — AWS does not support resource-level restrictions for this action. Without it, Qovery cannot list available secrets when configuring an external secret.Example:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "secretsmanager:GetResourcePolicy",
        "secretsmanager:GetSecretValue",
        "secretsmanager:DescribeSecret",
        "secretsmanager:ListSecretVersionIds"
      ],
      "Resource": "arn:aws:secretsmanager:eu-west-3:XXXXXXXXXXXX:secret:staging*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "secretsmanager:ListSecrets"
      ],
      "Resource": "*"
    }
  ]
}

← Back to Secret Manager Integration overview