Add terraform-provider-gpgvaultsecret #1

Merged
benvin merged 1 commits from benvin/gpg-provider into main 2026-07-16 23:37:33 +10:00
Owner

A terraform-plugin-framework provider for the vault-plugin-secrets-gpg engine, managing engine mounts and OpenPGP keys on Vault/OpenBao.

  • gpg_secret_backend resource: mount the engine (+ optional plugin catalog registration when a sha256 is given; deregisters on destroy).
  • gpg_key resource: create/configure a key (algorithm, identity, exportable, deletion_allowed, min_decryption_version); computed public_key/fingerprint/key_id/latest_version; destroy auto-enables deletion; import <backend>/<name>.
  • gpg_key data source: read a key's metadata + armored public key.
  • Talks to Vault/OpenBao via hashicorp/vault/api; address/token fall back to VAULT_ADDR/VAULT_TOKEN. Unit tests plus an e2e running real terraform apply/destroy against a Vault dev server + the gpg plugin. Release publishes a zip to the artifactapi terraform-unkin registry on v* tags.
A terraform-plugin-framework provider for the [vault-plugin-secrets-gpg](https://git.unkin.net/unkin/vault-plugin-secrets-gpg) engine, managing engine mounts and OpenPGP keys on Vault/OpenBao. - `gpg_secret_backend` resource: mount the engine (+ optional plugin catalog registration when a `sha256` is given; deregisters on destroy). - `gpg_key` resource: create/configure a key (algorithm, identity, exportable, deletion_allowed, min_decryption_version); computed `public_key`/`fingerprint`/`key_id`/`latest_version`; destroy auto-enables deletion; import `<backend>/<name>`. - `gpg_key` data source: read a key's metadata + armored public key. - Talks to Vault/OpenBao via hashicorp/vault/api; address/token fall back to VAULT_ADDR/VAULT_TOKEN. Unit tests plus an e2e running real `terraform apply/destroy` against a Vault dev server + the gpg plugin. Release publishes a zip to the artifactapi `terraform-unkin` registry on v* tags.
unkinben added 1 commit 2026-07-16 23:33:16 +10:00
Add terraform-provider-gpgvaultsecret
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
f56bb6be29
A terraform-plugin-framework provider for the vault-plugin-secrets-gpg engine,
managing engine mounts and OpenPGP keys on Vault/OpenBao.

- gpg_secret_backend resource: mount the engine (+ optional plugin catalog
  registration when a sha256 is given; deregisters on destroy).
- gpg_key resource: create/configure a key (algorithm, identity, exportable,
  deletion_allowed, min_decryption_version); computed public_key/fingerprint/
  key_id/latest_version; destroy auto-enables deletion; import <backend>/<name>.
- gpg_key data source: read a key's metadata + armored public key.
- Talks to Vault/OpenBao via hashicorp/vault/api; address/token fall back to
  VAULT_ADDR/VAULT_TOKEN. Unit tests plus an e2e running real terraform
  apply/destroy against a Vault dev server + the gpg plugin. Release publishes a
  zip to the artifactapi terraform-unkin registry on v* tags.
benvin merged commit c578e2fd28 into main 2026-07-16 23:37:33 +10:00
benvin deleted branch benvin/gpg-provider 2026-07-16 23:37:33 +10:00
Sign in to join this conversation.