List Nitride identities, attestations, and policies

Learn to list the default identities, attestations, and policies

This tutorial walks you through the steps to list essential Nitride identities, including: platform, firmware, and workload. When you enable remote attestation using the vhsm nitride init command. It performs a series of operations to configure and secure your environment:

  1. Creates essential Nitride identities, including: platform, firmware, and workload

  2. Creates and attaches a Nitride policy from an embedded policy configuration.

  3. Generates attestation objects based on your setup.

  4. Bootstraps the environment to allow secure workload attestation and the issuance of access tokens with the appropriate permissions.

Prerequisites

To list the Nitride identities: 1. Use the curl or vHSM CLI to fetch the list of identities from the vHSM server. Ensure that you replace <root-token> with the actual root token of the vHSM server.

vhsm nitride identity list

The output is similar to:

Keys
----
firmware/
platform/
workload/
  1. List the identities for firmware:

vhsm nitride identity list /firmware

The output is similar to:

Keys
----
aws-c6a.large/
azure-dc2asv5/
gcp-small/
local-test/
  1. List the identities for platform:

vhsm nitride identity list /platform

The output is similar to:

Keys
----
amd-sev-snp-genoa-vcek/
amd-sev-snp-genoa-vlek/
amd-sev-snp-milan-vcek/
amd-sev-snp-milan-vlek/
  1. List the identities for workload :

vhsm nitride identity list /workload

The output is similar to:

Keys
----
vtpm-ubuntu/

Output Description

Field
Description

request_id

A unique identifier assigned to your specific request by the API. It's useful for tracking or debugging purposes on the server side.

lease_id

Often related to token leasing or secrets management systems. For this list operation, it's empty, indicating no associated lease.

renewable

Often related to token leasing or secrets management systems. For this list operation, it's false, indicating no associated lease.

lease_duration

Often related to token leasing or secrets management systems. For this list operation, it's zero, indicating no associated time limit.

data

This object contains the actual information you requested.

keys

This is an array that lists the available identity types that exist in the system.

wrap_info

This field is typically used for response wrapping, a security feature, and is null here, meaning the response is not wrapped.

warnings

This array would contain any non-critical warnings related to your request, but it's null here, indicating no warnings.

auth

This field would contain authentication-related information if applicable, but it's null here.

To learn more about how to create an identity or a policy for your environment, see Create or update identities, and Create or update policies.

Last updated

Was this helpful?