Skip to content

Commit 4db77d6

Browse files
committed
Add Hashicorp Vault docs
Signed-off-by: Dan Middleton <dmiddleton@nvidia.com>
1 parent ce93c49 commit 4db77d6

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

content/en/docs/attestation/resources/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ kubectl create secret generic kbsres1 --from-literal key1=res1val1 --from-litera
7272
## Advanced configurations
7373

7474
There are additional plugins and additional backends for the resource plugin.
75-
For example, Trustee can integrate with Azure Key Vault or PKCS11 HSMs.
75+
For example, Trustee can integrate with [Azure Key Vault](kbs-backed-by-akv), [HashiCorp Vault KV](kbs-backed-by-vault-kv), or PKCS11 HSMs.

content/en/docs/attestation/resources/resource-backends.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,17 @@ The Pkcs11 backend is configured with the following values.
6868
No `slot_index` is set, the first slot will be used.
6969
* `pin` The user password for authenticating a session with the above slot.
7070

71+
### HashiCorp Vault KV
72+
73+
The KBS can use [HashiCorp Vault](https://developer.hashicorp.com/vault) KV v1 as a resource backend,
74+
storing and retrieving secrets from a central Vault instance.
75+
Build the KBS with the `vault` feature (e.g. `cargo build --features vault`).
76+
In the KBS config, add a resource plugin of type `Vault` with `vault_url`, `token`, and optionally
77+
`mount_path`, `verify_ssl`, and `ca_certs`.
78+
Resource URIs map to Vault paths as `{repository_name}/{resource_type}/{resource_tag}`; the secret
79+
value is stored under the key `data`.
80+
Only token authentication and KV v1 are supported.
81+
For setup, policy examples, and TLS options, see the
82+
[Vault KV backend documentation](https://github.com/confidential-containers/trustee/blob/main/kbs/docs/vault_kv.md)
83+
in the Trustee repo.
7184

0 commit comments

Comments
 (0)