anjuna-nitro-cli describe-eif

anjuna-nitro-cli describe-eif --eif-path <path-to-eif>

Describes an AWS Nitro Enclave Image File.

anjuna-nitro-cli describe-eif describes information about a given Enclave Image File (EIF). The output includes the following:

  • PCR values

  • Information about the certificate used to sign the EIF (if provided at build time)

  • Information about the Docker image used to build the EIF

  • Metadata added to the EIF (if provided at build time)

On this page, some code blocks are shortened to emphasize only the relevant configuration. A line with <snip>…​ indicates that some lines have been removed from the full configuration.

Options

Usage

anjuna-nitro-cli describe-eif --eif-path <path-to-eif>

--eif-path

(Required) Path to the EIF to describe

Global options

The following options are available for all commands.

Global options

-h, --help

Prints the help information for the command

-v, --version

Prints version information

Exit status

  • 0 on success

  • > 0 on error

The output is in JSON format and can be parsed by using a tool like jq.

Example

$ anjuna-nitro-cli describe-eif --eif-path nginx.eif

{
  "EifVersion": 4,
  "Measurements": {
    "HashAlgorithm": "Sha384 { ... }",
    "PCR0": "9ebaadb0cb90e82b1af0283096d492bebcbf83f42f8ffac4f207157ed2c8029a27edcbf5d31f27649768dbca72609cd9",
    "PCR1": "6fbec60e4a158ca5d41655ec90a67213856f35e97f16cf7241b138f5b328a6421a6f8f898d865797cfcad128bb45480f",
    "PCR2": "86b8221b827a29dfe1b5205203b6a148fdb99bfb8e2fcf45fa8a0afb40bab3d9ba501d17ba1ca893d34620a751bfbe16"
  },
  "IsSigned": false,
  "CheckCRC": true,
  "ImageName": "nginx",
  "ImageVersion": "080ed0ed8312deca92e9a769b518cdfa20f5278359bd156f3469dd8fa532db6b",
  "Metadata": {
    "BuildTime": "2023-09-08T20:16:03.961368178+00:00",
    "BuildTool": "Anjuna Nitro CLI",
  <snip...>
 }