vault

command
v0.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2022 License: MIT Imports: 1 Imported by: 0

README

Hashicorp Vault sample

This sample shows how to port an existing Go application to Edgeless RT.

Also check out EGo, which further simplifies porting Go apps.

To build Vault for the enclave, first compile the (unmodified) Vault project to a static library using the Edgeless Go compiler:

git clone https://github.com/hashicorp/vault
cp invokemain.go vault
cd vault
ertgo build -buildmode=c-archive main.go invokemain.go
cd ..

This will produce main.a.

Now you can build the enclave:

mkdir build
cd build
cmake -DGOLIB=../vault/main.a ..
make

Run the Vault enclave:

erthost enclave.signed server -dev

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL