Versions in this module Expand all Collapse all v0 v0.5.1 Dec 30, 2020 Changes in this version + type AppRoleCredentials struct + MountPoint string + RoleID string + SecretID string + type Client struct + func NewClient(c *Config) (*Client, error) + func (c *Client) GetSecret(path string) (secret Secret, err error) + func (c *Client) GetStatus() string + func (c *Client) GetTokenInfo() *VaultTokenInfo + func (c *Client) IsAuthenticated() bool + func (c *Client) RawRequest(method, path string, payload interface{}) (result json.RawMessage, err error) + type Config struct + Address string + AppRoleCredentials *AppRoleCredentials + CACert string + InsecureSSL bool + MaxRetries int + Timeout time.Duration + Token string + func NewConfig() *Config + type Secret struct + JSONSecret json.RawMessage + KV map[string]string + type VaultTokenInfo struct + Accessor string + CreationTTL int + CreationTime int + DisplayName string + EntityID string + ExpireTime interface{} + ExplicitMaxTTL int + ID string + IssueTime time.Time + Meta interface{} + NumUses int + Orphan bool + Path string + Policies []string + Renewable bool + TTL int + Type string