Create Attestation

Learn to create an attestation profile in vHSM using the CLI to enable trusted workload execution based on identity and access policies.

Note:

If you started Nitride by using the vhsm nitride init command then, 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.

Creating attestation

  1. Create a attestation.json file that defines how vHSM verifies identities and applies the policy.

{
  "name": "basic-attestation",
  "policy": "nitride-policy"
}

Where:

Field
Description

name

Logical name of the attestation profile

policy

The policy to apply after successful attestation

  1. Create the attestation profile:

vhsm nitride attestation create @attestation.json

Example output:

  1. Check that the attestation profile exists:

View details of the profile:

4. Verify if the attestation was successful.

Note: If the workload in not linked to any attestation provider then you can specify the provider as local-none-debug .

The output is similar to:

Note: Ensure that the workload UUID 19dc0836-bc80-4a4c-8362-4c1f8eb17710is linked to a policy that matches the attestation provider — in this case, a policy was configured for azure-sev-snp-vtpm.

Last updated

Was this helpful?