Documentation ¶
Index ¶
- Variables
- type Vault
- func (vault *Vault) Append(input map[string]interface{}, subpath string) error
- func (vault *Vault) AppendSecret(credInfo secrets.CredentialInfo, input map[string]interface{}) error
- func (vault *Vault) Create(input map[string]interface{}, subpath string) error
- func (vault *Vault) CreateAccount(credInfo secrets.CredentialInfo, input map[string]interface{}) error
- func (vault *Vault) Delete(subpath string) error
- func (vault *Vault) DeleteSingleSecretEntry(credentialInfo secrets.CredentialInfo, target string) error
- func (vault *Vault) GetAccount(participantId, accountName string) (nodeconfig.Account, error)
- func (vault *Vault) GetSecretPhrase(participantId, accountName string) (string, error)
- func (vault *Vault) InitEnv()
- func (vault *Vault) Override(input map[string]interface{}, subpath string) error
- func (vault *Vault) Read(subpath string) (map[string]interface{}, error)
- func (vault *Vault) StoreAccount(accountName string, account nodeconfig.Account, randString string) error
- func (vault *Vault) Update(input map[string]interface{}, subpath string) error
- func (vault *Vault) UpdateAccount(credInfo secrets.CredentialInfo, input map[string]interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var LOGGER = logging.MustGetLogger("vault")
Functions ¶
This section is empty.
Types ¶
type Vault ¶
type Vault struct { ServiceName string ParticipantId string ENV string // contains filtered or unexported fields }
func InitializeVault ¶
func (*Vault) AppendSecret ¶
func (vault *Vault) AppendSecret(credInfo secrets.CredentialInfo, input map[string]interface{}) error
func (*Vault) CreateAccount ¶
func (vault *Vault) CreateAccount(credInfo secrets.CredentialInfo, input map[string]interface{}) error
func (*Vault) DeleteSingleSecretEntry ¶
func (vault *Vault) DeleteSingleSecretEntry(credentialInfo secrets.CredentialInfo, target string) error
func (*Vault) GetAccount ¶
func (vault *Vault) GetAccount(participantId, accountName string) (nodeconfig.Account, error)
func (*Vault) GetSecretPhrase ¶
func (*Vault) StoreAccount ¶
func (*Vault) UpdateAccount ¶
func (vault *Vault) UpdateAccount(credInfo secrets.CredentialInfo, input map[string]interface{}) error
Click to show internal directories.
Click to hide internal directories.