Documentation ¶ Index ¶ Constants type Client func NewClient() (*Client, error) func (c *Client) RequestJWT(r OIDCRole) (string, error) type OIDCRole func (v OIDCRole) Hash() (string, error) Constants ¶ View Source const ( TokenEndpoint = "identity/oidc/token" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { *api.Client } func NewClient ¶ func NewClient() (*Client, error) NewClient returns a new vault client. Address and token initialization are handled internally. Any errors encountered during initialization (for instance due to lacking environment variables) are returned to the caller. func (*Client) RequestJWT ¶ func (c *Client) RequestJWT(r OIDCRole) (string, error) type OIDCRole ¶ type OIDCRole string func (OIDCRole) Hash ¶ func (v OIDCRole) Hash() (string, error) Source Files ¶ View all Source files vault.go Click to show internal directories. Click to hide internal directories.