mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
feat(secrets): implement SecretStore interface and StaticStore/LocalStore for credential management
This commit is contained in:
parent
76b9d35ec7
commit
1f2e72dab6
13 changed files with 525 additions and 29 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