Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultTokenPath = "/vault/secrets/token" TokenPathKey = "VAULT_TOKEN_PATH" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentManagedToken ¶
type AgentManagedToken struct{}
func (AgentManagedToken) GetToken ¶
func (t AgentManagedToken) GetToken() (string, error)
type Client ¶
type Client struct { TokenRetriever TokenRetriever // contains filtered or unexported fields }
func (Client) CreateUpdate ¶
type PolicyManager ¶
type PolicyManager interface { CreateUpdate(ctx context.Context, name string, rules string) error Delete(ctx context.Context, name string) error }
func NewPolicyManager ¶
func NewPolicyManager(retriever TokenRetriever) (PolicyManager, error)
type TokenRetriever ¶
Click to show internal directories.
Click to hide internal directories.