Documentation
¶
Index ¶
- func FilterSecretsByPrefix(cfg aws.Config, prefix string) ([]smt.SecretListEntry, error)
- func GetSecretValue(cfg aws.Config, secretID string) (string, error)
- func Pivot(secretID string) func(context.Context) (aws.Credentials, error)
- func SecretExists(cfg aws.Config, secretID string) bool
- func StoreKey(cfg aws.Config, s *Secret, kms string) error
- type Secret
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterSecretsByPrefix ¶
Types ¶
type Secret ¶
type Secret struct {
ID string `json:"ID,omitempty"`
KeyID string `json:"keyID,omitempty"`
Name string `json:"name,omitempty"`
Type string `json:"type,omitempty"`
Updated time.Time `json:"updated,omitempty"`
Username string `json:"username,omitempty"`
Value string `json:"value,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.