Secrets

The sym_secrets resource allows you to specify a source for secrets to be accessed by the Sym platform.

resource "sym_secrets" "this" {
  type  = "aws_secrets_manager"
  name  = "prod-secrets"

  settings = {
    context_id = sym_integration.secrets_context.id
  }
}

Name

Description

Required

name

A slug uniquely identifying your secrets within your organization.

✔️

context_id

The id of a permission_context, which provides access to an AWS Secrets Manager instance.

✔️

Supplying a Secret

resource "sym_secret" "username" {
  path = "/sym/tf-tests/username"
  source_id = sym_secrets.this.id
}

Name

Description

Required

path

The path to the secret in the source.

✔️

source_id

The id of a sym_secrets resource.

✔️


Did this page help you?