Documentation
¶
Index ¶
Constants ¶
View Source
const (
// PayloadVersion represents the version of the SB API
PayloadVersion = "1.0"
)
Variables ¶
This section is empty.
Functions ¶
func SetSecretBackendArgs ¶ added in v0.5.0
func SetSecretBackendArgs(args []string)
SetSecretBackendArgs set the secretBackendArgs var
func SetSecretBackendCommand ¶ added in v0.4.0
func SetSecretBackendCommand(command string)
SetSecretBackendCommand set the secretBackendCommand var
Types ¶
type Decryptor ¶
Decryptor is used to decrypt encrypted secrets Decryptor is implemented by SecretBackend
type Secret ¶ added in v0.5.0
type Secret struct {
Value string `json:"value,omitempty"`
ErrorMsg string `json:"error,omitempty"`
}
Secret defines the structure for secrets in JSON output
type SecretBackend ¶
type SecretBackend struct {
// contains filtered or unexported fields
}
SecretBackend retrieves secrets from secret backend binary SecretBackend implements the Decryptor interface
func NewSecretBackend ¶
func NewSecretBackend() *SecretBackend
NewSecretBackend returns a new SecretBackend instance
Click to show internal directories.
Click to hide internal directories.