Documentation ¶
Index ¶
- type AWSCredentials
- type Client
- func (c *Client) Decrypt(path string, ciphertext string) (string, error)
- func (c *Client) Encrypt(path string, plaintext string) (string, error)
- func (c *Client) GetAWSCredentials(path string) (*AWSCredentials, error)
- func (c *Client) GetDatabaseCredentials(path string) (*DatabaseCredentials, error)
- func (c *Client) GetGCPServiceAccount(path string) (*GCPCredentials, error)
- func (c *Client) GetSecret(mountPath string, secretPath string) (*vault.KVSecret, error)
- func (c *Client) GetTLSConfig(path string, data map[string]interface{}) (*tls.Config, error)
- func (c *Client) RenewSecret(secret *vault.Secret) error
- type Credential
- type DatabaseCredentials
- type GCPCredentials
- type Vault
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSCredentials ¶
type Client ¶
func (*Client) GetAWSCredentials ¶
func (c *Client) GetAWSCredentials(path string) (*AWSCredentials, error)
func (*Client) GetDatabaseCredentials ¶
func (c *Client) GetDatabaseCredentials(path string) (*DatabaseCredentials, error)
func (*Client) GetGCPServiceAccount ¶ added in v1.0.1
func (c *Client) GetGCPServiceAccount(path string) (*GCPCredentials, error)
func (*Client) GetTLSConfig ¶
type Credential ¶
type DatabaseCredentials ¶
type GCPCredentials ¶ added in v1.0.1
type GCPCredentials struct { Data *google.Credentials Secret *vault.Secret }
Click to show internal directories.
Click to hide internal directories.