Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps the HashiCorp Vault API client with additional functionality.
func InitClient ¶
InitClient initializes and returns a new Vault client using the provided configuration.
func (*Client) CreateRaftSnapshot ¶
CreateRaftSnapshot creates a snapshot of the Vault's Raft storage backend. Returns a buffer containing the snapshot data.
func (*Client) LoginAppRole ¶
LoginAppRole authenticates to Vault using the AppRole method with the provided roleID and secretID.
Click to show internal directories.
Click to hide internal directories.