|
|
||
|---|---|---|
| .. | ||
| prepare_vault.sh | ||
| README.md | ||
| run_occlum_vault_server.sh | ||
| run_occlum_vault_test.sh | ||
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