occlum/demos/golang/vault
2022-12-21 23:19:25 +08:00
..
prepare_vault.sh Update Vault demo to v1.10.0 2022-09-06 12:57:16 +08:00
README.md Add the HashiCorp Vault demo 2021-04-16 18:32:51 +08:00
run_occlum_vault_server.sh Clean up unnecessary default_mmap_size configuration in demos 2022-12-21 23:19:25 +08:00
run_occlum_vault_test.sh Add the HashiCorp Vault demo 2021-04-16 18:32:51 +08:00
vault.yaml Update Vault demo with bom file 2021-09-26 16:34:52 +08:00

Run HashiCorp Vault with Occlum

This project demonstrates how Occlum enables HashiCorp Vault in SGX enclaves.

Step 1: Download Vault source code and build the Vault executable

./prepare_vault.sh

Once completed, the resulting Vault source code can be found in the source_code directory with the built binary located in ./source_code/bin.

Step 2: Run Vault server in dev mode with a custom initial root token inside SGX enclave with Occlum

./run_occlum_vault_server.sh

Step 3: In another terminal, run Vault kv CLI for interacting with Vault's key/value secrets engine

./run_occlum_vault_test.sh