Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPluginWorkloadIdentityUnsupported = errors.New("plugin workload identity not supported in Vault community edition")
Functions ¶
func AddPluginIdentityTokenFields ¶
func AddPluginIdentityTokenFields(m map[string]*framework.FieldSchema)
AddPluginIdentityTokenFields adds plugin identity token fields to the given field schema map.
Types ¶
type PluginIdentityTokenParams ¶
type PluginIdentityTokenParams struct { // IdentityTokenTTL is the duration that tokens will be valid for IdentityTokenTTL time.Duration `json:"identity_token_ttl"` // IdentityTokenAudience identifies the recipient of the token IdentityTokenAudience string `json:"identity_token_audience"` }
PluginIdentityTokenParams contains a set of common parameters that plugins can use for setting plugin identity token behavior.
func (*PluginIdentityTokenParams) ParsePluginIdentityTokenFields ¶
func (p *PluginIdentityTokenParams) ParsePluginIdentityTokenFields(d *framework.FieldData) error
ParsePluginIdentityTokenFields provides common field parsing to embedding structs.
func (*PluginIdentityTokenParams) PopulatePluginIdentityTokenData ¶
func (p *PluginIdentityTokenParams) PopulatePluginIdentityTokenData(m map[string]interface{})
PopulatePluginIdentityTokenData adds PluginIdentityTokenParams info into the given map.
Click to show internal directories.
Click to hide internal directories.