Skip to content
Registry StackDocsv0.49.0

evidence check-policy command reference

View as Markdown

Check one relying-procedure verification policy offline, and report every problem found with its line and column.

This page is generated from the public Clap command tree for Registry Stack source version 0.49.0 and catalog SHA-256 5ee58a079f1cede7ba2da71f1d8945c0b683f5f54e8d871fdbcb8648c998872c. Hidden implementation commands are omitted.

Check one relying-procedure verification policy offline, and report every problem found with its line and column. verify and verify-presentation read the policy exactly this way but report only their closed malformed class; this command says where the policy is wrong. No diagnostic repeats a value written in the policy.

evidence check-policy [OPTIONS] <--verification-policy <FILE>|--holder-bound-policy <FILE>>
ConditionRequirement
Command invocationExactly one of --verification-policy <FILE>, --holder-bound-policy <FILE> is required.
Command invocation--holder-bound-policy <FILE> and --verification-policy <FILE> cannot be used together.
OptionAlways requiredDefaultValuesEnvironmentDescription
--verification-policy <FILE>Non/an/an/aA Version 1 policy, as verify --policy reads it
--holder-bound-policy <FILE>Non/an/an/aA holder-bound policy, as verify-presentation --policy reads it
--format <FORMAT>Nohumanhuman, jsonn/aEmit the selected command’s report in this format
--deny-warningsNon/an/an/aExit 1 when a warning is reported
-h, --helpNon/an/an/aPrint help (see a summary with ‘-h’)

After changing a public command, argument, option, default, environment binding, or help description, run cargo run --locked -p registry-cli-docs -- --write, commit crates/registry-cli-docs/catalog.json, then run npm run generate from docs/site.