Skip to content

cofidectl attestation-policy add tpm-node

Add a new TPM Node attestation policy

This command will add a new TPM Node attestation policy to Cofide Connect.

cofidectl attestation-policy add tpm-node [flags]
--ek-hash string SHA256 hash of the TPM's Endorsement Key (EK)
-h, --help help for tpm-node
--name string Name to use for the attestation policy
--selector-value stringArray Selector values to use for the attestation policy (repeatable)
--trust-zone string Name of the trust zone to scope the attestation policy to
--trust-zone-id string ID of the trust zone to scope the attestation policy to
--config string Cofidectl config file (default: cofide/cofidectl.yaml in the user config directory, e.g. ~/.config on Linux)
--dir string directory to write the generated docs to (default "docs/cli")
--format string output format: md, md-site, man or rest (default "md")
--link-prefix string md-site only, required: URL path the generated pages are published under, used to rewrite links between them
--log-level string Log level (overrides the COFIDECTL_LOG_LEVEL environment variable) (default "ERROR")
-o, --output format Output format (table|json) (default table)
--profile string Config profile to use (overrides the COFIDECTL_PROFILE environment variable)