We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c921966 commit 2a9ba22Copy full SHA for 2a9ba22
pkg/secrets/keyring/interface.go
@@ -7,21 +7,15 @@ var ErrNotFound = errors.New("key not found")
7
8
// Provider defines the interface for keyring backends
9
type Provider interface {
10
- // Set stores a key-value pair in the keyring
11
Set(service, key, value string) error
12
13
- // Get retrieves a value from the keyring
14
Get(service, key string) (string, error)
15
16
- // Delete removes a specific key from the keyring
17
Delete(service, key string) error
18
19
- // DeleteAll removes all keys for a service from the keyring
20
DeleteAll(service string) error
21
22
- // IsAvailable tests if this keyring backend is functional
23
IsAvailable() bool
24
25
- // Name returns a human-readable name for this backend
26
Name() string
27
}
0 commit comments