Documentation ¶
Index ¶
- func New(props map[string][]byte) (common.SecretManager, error)
- func NewVaultPolicyManager(props map[string][]byte) (clients.PolicyManager, error)
- type PolicyManager
- type VaultSecretManager
- func (m *VaultSecretManager) CreateEngine(ctx context.Context, engine string, engineType string, ...) error
- func (m *VaultSecretManager) DeleteEngine(ctx context.Context, engine string) error
- func (m *VaultSecretManager) DeletePath(ctx context.Context, engine string, secretPath string, ...) error
- func (m *VaultSecretManager) ExistEngine(ctx context.Context, engine string) (bool, error)
- func (m *VaultSecretManager) GetSecrets(ctx context.Context, engine string, secretPath string, ...) (map[string]interface{}, error)
- func (m *VaultSecretManager) Put(ctx context.Context, engine string, secretPath string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewVaultPolicyManager ¶
func NewVaultPolicyManager(props map[string][]byte) (clients.PolicyManager, error)
Types ¶
type PolicyManager ¶
type PolicyManager struct {
// contains filtered or unexported fields
}
func NewPolicyManager ¶
func NewPolicyManager(host string, port string, token string) (*PolicyManager, error)
func (*PolicyManager) Delete ¶
func (p *PolicyManager) Delete(ctx context.Context, name string) error
type VaultSecretManager ¶
type VaultSecretManager struct {
// contains filtered or unexported fields
}
func NewVaultSecretManager ¶
func NewVaultSecretManager(host, port, token string) (*VaultSecretManager, error)
func (*VaultSecretManager) CreateEngine ¶
func (*VaultSecretManager) DeleteEngine ¶
func (m *VaultSecretManager) DeleteEngine(ctx context.Context, engine string) error
func (*VaultSecretManager) DeletePath ¶
func (*VaultSecretManager) ExistEngine ¶
func (*VaultSecretManager) GetSecrets ¶
Click to show internal directories.
Click to hide internal directories.