Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(stores ...secrets.SecretStore) session.Attachable
New returns a new secrets provider which looks up secrets in each supplied secret store (ordered by argument ordering) and returns the first found secret
func NewCloudStore ¶
func NewCloudStore(client *cloud.Client) secrets.SecretStore
NewCloudStore returns a new cloud secret store
func NewMapStore ¶
func NewMapStore(m map[string][]byte) secrets.SecretStore
NewMapStore returns a new map-based secret store
func NewSecretProviderCmd ¶
func NewSecretProviderCmd(cmd string) (secrets.SecretStore, error)
NewSecretProviderCmd returns a SecretStore that shells out to a user-supplied command
Types ¶
type MutableMapStore ¶ added in v0.6.20
type MutableMapStore struct {
// contains filtered or unexported fields
}
MutableMapStore is a secret store which can be mutated.
func NewMutableMapStore ¶ added in v0.6.20
func NewMutableMapStore(m map[string][]byte) *MutableMapStore
NewMutableMapStore returns a new map-based mutable secret store.
func (*MutableMapStore) DeleteSecret ¶ added in v0.6.20
func (m *MutableMapStore) DeleteSecret(ctx context.Context, id string) error
DeleteSecret deletes a secret from the map store.
Click to show internal directories.
Click to hide internal directories.