Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretSourcePlain ¶
type SecretSourcePlain struct{}
SecretSourcePlain digs up secrets that can be found with URI-coordinates in the format:
plain://MY_SECRET_VALUE
This types.SecretSource is built-in to spelunker.Spelunker.
Note that `MY_SECRET` can also be in the form `MY/SECRET_VALUE` or `MY/SECRET/VALUE`: the whole combination of URI _authority_ and _path_ is returned.
func (*SecretSourcePlain) DigUp ¶
func (s *SecretSourcePlain) DigUp(_ context.Context, coord types.SecretCoord) (string, error)
func (*SecretSourcePlain) Type ¶
func (s *SecretSourcePlain) Type() string
Click to show internal directories.
Click to hide internal directories.