Create Attestation

Creating attestation

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

Example:

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

Where:

  • "name": Logical name of the attestation profile.

  • "policy": The policy to apply after successful attestation

  • "namespace": The namespace in which the attestation should be created.

Create the attestation profile

Example:

vhsm nitride attestation create @attestation.json

Output:

Verify that the attestation profile exists

Example:

Output:

View details of the profile:

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 .

Example:

Output:

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.

This output confirms that vHSM successfully interacted with the attestation service regarding the specified workload and received an authentication token with specific policies attached, indicating a successful attestation or a simulated attestation outcome. For more information, see vHSM Nitride CLI.

Last updated

Was this helpful?