This provider creates a OpenPGP key pair so that you can use the key pair for other Terraform resources.
- Terraform 0.12.x or higher
- Go 1.18 or higher (for build)
Download the latest release for your OS from the release page and follow the instructions to install third party plugins.
Example:
# Create a OpenPGP key
resource "openpgp_key" "my-openpgp-key" {
name = "Your name"
email = "you@example.com"
}
You can use the following attributes:
- public_key - The public key of the OpenPGP key pair. (ASCII-armored format)
- private_key - The private key of the OpenPGP key pair. (ASCII-armored format)
- fingerprint - The fingerprint of the OpenPGP key pair.
Please read the CLA below carefully before submitting your contribution.