# Functions
IsEnc returns true if a string respects the ENC[<handle>] format.
NewDecryptorError returns a new DecryptorError.
NewDummyDecryptor returns a dummy decryptor for tests maxRetries is the number of retries before returning a nil error If maxRetries < 0 Decrypt directly returns a permanent error If maxRetries == 0 Decrypt directly returns a a nil error If maxRetries > 0 Decrypt returns a retriable error until it's called maxRetries-times then returns a nil error.
NewSecretBackend returns a new SecretBackend instance.
Retriable can be used to evaluate whether an error should be retried.
SetSecretBackendArgs set the secretBackendArgs var.
SetSecretBackendCommand set the secretBackendCommand var.
# Constants
PayloadVersion represents the version of the SB API.
# Structs
DecryptorError describes the error returned by a Decryptor.
DummyDecryptor can be used in other packages to mock the secret backend.
Secret defines the structure for secrets in JSON output.
SecretBackend retrieves secrets from secret backend binary SecretBackend implements the Decryptor interface.
# Interfaces
Decryptor is used to decrypt encrypted secrets Decryptor is implemented by SecretBackend.