read

Reads the policy previously created.

Usage

vhsm nitride policy read <name> [flags]
  • <name>: the policy name

Flags


Example

vhsm nitride policy read test

Output is similar to:

Key           Value
---           -----
created       1751893334
identities    map[firmware:[map[name:local-test policy:<nil>]] metadata:<nil> platform:[map[name:amd-sev-snp-milan-vcek policy:<nil>]] provider:local-none-debug workload:map[name:vtpm-ubuntu policy:map[hash:false pcrs.1:false]]]
name          test

Additional Example

Read a specific policy with a custom namespace.

vhsm nitride policy read test -namespace=prod

Output is similar to:

Key           Value
---           -----
created       1751893334
identities    map[firmware:[map[name:local-test policy:<nil>]] metadata:<nil> platform:[map[name:amd-sev-snp-milan-vcek policy:<nil>]] provider:local-none-debug workload:map[name:vtpm-ubuntu policy:map[hash:false pcrs.1:false]]]
name          test

Last updated

Was this helpful?