vault_secrets_sync_vercel_destination

Creates a GitHub destination to synchronize secrets in Vault. Requires Vault 1.16+. Available only for Vault Enterprise.

For more information on syncing secrets with GitHub, please refer to the Vault documentation.

Example Usage

resource "vault_secrets_sync_vercel_destination" "vercel" {
  name                    = "vercel-dest"
  access_token            = var.access_token
  project_id              = var.project_id
  deployment_environments = ["development", "preview", "production"]
  secret_name_template    = "vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported in addition to the above:

Import

GitHub Secrets sync destinations can be imported using the name, e.g.

$ terraform import vault_secrets_sync_vercel_destination.vercel vercel-dest