Versions in this module Expand all Collapse all v0 v0.2.61 Jul 30, 2026 Changes in this version + type Injection struct + Kind InjectionKind + Name string + type InjectionKind string + const InjectBearer + const InjectHeader + const InjectQuery + type Scope struct + ActionID string + ArtifactDigest string + Binding *providerv0.BindingAddress + Injection Injection + MaxUses uint32 + Method providerv0.HTTPMethod + Organization string + Origin urlguard.Origin + PlanID string + Principal string + Purpose providerv0.CredentialPurpose + RequestDigest string + TTL time.Duration + type Use struct + ActionID string + Binding *providerv0.BindingAddress + Method providerv0.HTTPMethod + Origin urlguard.Origin + Purpose providerv0.CredentialPurpose + RequestDigest string + type Vault struct + func NewVault() *Vault + func (v *Vault) Inject(request *http.Request, handle string, use Use) error + func (v *Vault) Mint(secret string, scope Scope) (*providerv0.CredentialHandle, error) + func (v *Vault) WithClock(now func() time.Time) *Vault