Skip to content

cofidectl attestation-policy add static

Add a new static attestation policy

This command will add a new static attestation policy to the Cofide configuration state.

cofidectl attestation-policy add static [flags]
--dns-names strings DNS names to use for the attestation policy
-h, --help help for static
--name string Name to use for the attestation policy
--parent-id-path string Parent ID path to use for the attestation policy
--selectors strings Workload selectors to use for the attestation policy
--spiffe-id-path string SPIFFE ID path to use for the attestation policy
--store-svid Store the x509 SVID in the svidstore (requires the svidstore agent plugin)
--config string cofidectl config file (default "cofide.yaml")
--dir string directory to write the generated docs to (default "docs/cli")
--format string output format: md, md-site, man or rest (default "md")
--kube-config string kubeconfig file location (default "$HOME/.kube/config")
--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")