tfe_registry_gpg_key

Manages a public key of the GPG key pair used to sign releases of private providers in the private registry.

The provided GPG key must be ASCII-armored, i.e. starting with: "-----BEGIN PGP PUBLIC KEY BLOCK-----\n\n...".

Example Usage

resource "tfe_registry_gpg_key" "example" {
  organization = "my-org-name"
  ascii_armor  = file("my-public-key.asc")
}

Argument Reference

The following arguments are supported:

Attributes Reference

Import

Keys can be imported; use <ORGANIZATION NAME>/<KEY ID> as the import ID. For example:

terraform import tfe_registry_gpg_key.example my-org-name/34365D9472D7468F