Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSecretSourceBase64FailedDecoding = fmt.Errorf("failed to decode base64 secret")
Functions ¶
This section is empty.
Types ¶
type SecretSourceBase64 ¶
type SecretSourceBase64 struct{}
SecretSourceBase64 digs up secrets that are base64-encoded in the URI-coordinates. The URI scheme for this source is "base64".
base64://BASE64_ENCODED_SECRET
This types.SecretSource is built-in to spelunker.Spelunker.
func (*SecretSourceBase64) DigUp ¶
func (s *SecretSourceBase64) DigUp(_ context.Context, coord types.SecretCoord) (string, error)
func (*SecretSourceBase64) Type ¶
func (s *SecretSourceBase64) Type() string
Click to show internal directories.
Click to hide internal directories.