Enclaver is shipped as a single
enclaver binary that fulfills two main use-cases:
enclaver build should be used in a CI workflow, and the container images that it creates
can be distributed and run using existing container registries, Docker, Kubernetes, etc.
$ enclaver build [options]
Builds an OCI container image in Enclaver image format containing the components that run outside and inside the enclave. Once built, the container is named after the
target field of your enclave manifest file.
||String (Default=enclaver.yaml)||Path on disk to your enclave manifest file.|
||String||If set, build only the components that run inside of the enclave. EIF is written to the provided path on disk and the containing directory must exist.|
||Boolean (Default=false)||Force a pull of source images. By default, if a local image matching a specified source is found, it will be used without pulling.|
$ enclaver run [OPTIONS] [image]
Run a packaged Enclaver container image without typing long Docker commands.
This command is a convenience utility that runs a pre-existing Enclaver image in the local Docker Daemon. It is equivalent to running the image with Docker, and passing:
Requires a local Docker Daemon to be running, and that this computer is an AWS instance configured to support Nitro Enclaves.
||String||Enclaver Manifest file in which to look for an image name.
||String||Port to expose on the host machine, for example: 8080:80|