Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VaultRMQCredentials ¶
type VaultRMQCredentials struct { VaultClient *vaultclient.VaultClient Username string Password string VaultPath string Exp int64 }
func NewVaultRMQCredentials ¶
func NewVaultRMQCredentials(vcli *vaultclient.VaultClient, vaultpath string) *VaultRMQCredentials
NewVaultRMQCredentials creates a new VaultRMQCredentialhelper If vaultpath is empty, the role will be used as path
func (*VaultRMQCredentials) GetCredentials ¶
func (rmc *VaultRMQCredentials) GetCredentials() (string, string)
Click to show internal directories.
Click to hide internal directories.