mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 11:37:01 -07:00
feat(secrets): implement SecretStore interface and StaticStore/LocalStore for credential management
This commit is contained in:
parent
5bbd0b8998
commit
853e27c312
13 changed files with 525 additions and 28 deletions
7
pkg/secrets/main.go
Normal file
7
pkg/secrets/main.go
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
package secrets
|
||||
|
||||
type SecretStore interface {
|
||||
GetSecretByID(secretID string) (string, error)
|
||||
StoreSecretByID(secretID, secret string) error
|
||||
ListSecrets() (map[string]string, error)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue