Documentation ¶
Index ¶
- type SopsAgeParams
- type SopsEncryptParams
- type SopsKmsParams
- type SopsSecretVault
- func (s *SopsSecretVault) BatchGetSecretValues(keys []string, params *vaults.GetSecretValueParams) (map[string]string, error)
- func (s *SopsSecretVault) BatchSetSecretValues(values map[string]string, params *vaults.SetSecretValueParams) error
- func (s *SopsSecretVault) Decrypt() error
- func (s *SopsSecretVault) DeleteSecret(key string, params *vaults.DeleteSecretParams) error
- func (s *SopsSecretVault) Encrypt() error
- func (s *SopsSecretVault) GetSecretValue(key string, params *vaults.GetSecretValueParams) (string, error)
- func (s *SopsSecretVault) ListSecretNames(params *vaults.ListSecretNamesParams) ([]string, error)
- func (s *SopsSecretVault) LoadData(data map[string]interface{}) error
- func (s *SopsSecretVault) MapSecretValues(query map[string]string, params *vaults.GetSecretValueParams) (map[string]string, error)
- func (s *SopsSecretVault) SetSecretValue(key, value string, params *vaults.SetSecretValueParams) error
- type SopsSecretVaultParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SopsAgeParams ¶
type SopsEncryptParams ¶
type SopsEncryptParams struct { ConfigPath string File string FileType string Indent int Age *SopsAgeParams Kms *SopsKmsParams AzureKvUri string VaultUri string PgpKey string }
type SopsKmsParams ¶
type SopsSecretVault ¶
type SopsSecretVault struct {
// contains filtered or unexported fields
}
func FromConfig ¶
func FromConfig(cfg configs.VaultItem) *SopsSecretVault
func New ¶
func New(params SopsSecretVaultParams) *SopsSecretVault
func (*SopsSecretVault) BatchGetSecretValues ¶
func (s *SopsSecretVault) BatchGetSecretValues(keys []string, params *vaults.GetSecretValueParams) (map[string]string, error)
func (*SopsSecretVault) BatchSetSecretValues ¶
func (s *SopsSecretVault) BatchSetSecretValues(values map[string]string, params *vaults.SetSecretValueParams) error
func (*SopsSecretVault) Decrypt ¶
func (s *SopsSecretVault) Decrypt() error
func (*SopsSecretVault) DeleteSecret ¶
func (s *SopsSecretVault) DeleteSecret(key string, params *vaults.DeleteSecretParams) error
func (*SopsSecretVault) Encrypt ¶
func (s *SopsSecretVault) Encrypt() error
func (*SopsSecretVault) GetSecretValue ¶
func (s *SopsSecretVault) GetSecretValue(key string, params *vaults.GetSecretValueParams) (string, error)
func (*SopsSecretVault) ListSecretNames ¶
func (s *SopsSecretVault) ListSecretNames(params *vaults.ListSecretNamesParams) ([]string, error)
func (*SopsSecretVault) LoadData ¶
func (s *SopsSecretVault) LoadData(data map[string]interface{}) error
func (*SopsSecretVault) MapSecretValues ¶
func (s *SopsSecretVault) MapSecretValues(query map[string]string, params *vaults.GetSecretValueParams) (map[string]string, error)
func (*SopsSecretVault) SetSecretValue ¶
func (s *SopsSecretVault) SetSecretValue(key, value string, params *vaults.SetSecretValueParams) error
type SopsSecretVaultParams ¶
type SopsSecretVaultParams struct { File string ConfileFile string Age *SopsAgeParams Kms *SopsKmsParams AzureKvUri string VaultUri string PgpPublicKey string Driver string Indent int }
Click to show internal directories.
Click to hide internal directories.