package
0.6.2
Repository: https://github.com/zostay/ghost.git
Documentation: pkg.go.dev

# Functions

Builder constructs a new policy secret keeper.
New creates a new policy secret keeper.
NewAcceptanceRule creates a new rule with the given acceptance and no lifetime.
NewRule creates a new rule with the given lifetime and inherit acceptance.
ValidAcceptance returns true if the acceptance string is valid.
Validate validates the policy configuration.

# Constants

secret is accessible.
ConfigType is the name of the config type for the policy secret keeper.
secret is not accessible.
secret inherits the policy default.

# Structs

Config is the configuration for the policy secret keeper.
No description provided by the author
MatchConfig configures the matchers for a rule.
No description provided by the author
MatchRuleConfig configures a rule with matchers.
Policy is a secret keeper that wraps another secret keeper and applies policy rules to the secrets in the nested keeper.
Rule is a policy rule that applies to secrets.
RuleConfig configures the action to apply with a rule.

# Type aliases

No description provided by the author