Documentation
¶
Index ¶
Constants ¶
View Source
const ( EnvVaultKVMount = "VAULT_KV_MOUNT" EnvVaultKVCertsPath = "VAULT_KV_CERTS_PATH" EnvVaultKVAccountPath = "VAULT_KV_ACCOUNT_PATH" EnvVaultCertAuth = "VAULT_CERT_AUTH" EnvVaultCertAuthRole = "VAULT_CERT_AUTH_ROLE" VaultKVKeyCert = "cert" VaultKVKeyChain = "tls.crt" VaultKVKeyKey = "tls.key" VaultKVKeyCA = "ca" VaultKVKeyPFX = "pfx" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VaultStore ¶
type VaultStore struct {
// contains filtered or unexported fields
}
func NewVaultStore ¶
func NewVaultStore() (*VaultStore, error)
func (*VaultStore) Retrieve ¶
func (s *VaultStore) Retrieve(cn string) (*cert.Bundle, error)
Retrieve implements Store
func (*VaultStore) RetrieveAccount ¶
func (s *VaultStore) RetrieveAccount() (map[string]string, error)
RetrieveAccount implements Store
func (*VaultStore) StoreAccount ¶
func (s *VaultStore) StoreAccount(acc map[string]string) error
StoreAccount implements Store
Click to show internal directories.
Click to hide internal directories.