Documentation
¶
Overview ¶
Package policyfile reads a certificate policy file (audit.ParseIdentityPolicy) from disk, for the commands that check a certificate-bound decision outside a running gate.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Read ¶
func Read(path string) (*audit.CertIdentity, error)
Read reads the policy file at path and compiles it; the anchor files it names are read from the policy file's directory. Every failure wraps agent.ErrConfig.
func ReadSources ¶ added in v0.20.0
func ReadSources(path string) (audit.CRLSources, []*x509.Certificate, error)
ReadSources reads the refresher members of the policy file at path: where each issuing CA's CRLs are fetched from, and the certificates of the pinned intermediates (audit.ParseCRLSources).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.