package secretservice
import "github.com/docker/docker-credential-helpers/secretservice"
Index ¶
Types ¶
type Secretservice ¶
type Secretservice struct{}
Secretservice handles secrets using Linux secret-service as a store.
func (Secretservice) Add ¶
func (h Secretservice) Add(creds *credentials.Credentials) error
Add adds new credentials to the keychain.
func (Secretservice) Delete ¶
func (h Secretservice) Delete(serverURL string) error
Delete removes credentials from the store.
func (Secretservice) Get ¶
func (h Secretservice) Get(serverURL string) (string, string, error)
Get returns the username and secret to use for a given registry server URL.
func (Secretservice) List ¶
func (h Secretservice) List() (map[string]string, error)
List returns the stored URLs and corresponding usernames for a given credentials label
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
secretservice/cmd |
- Version
- v0.9.3 (latest)
- Published
- Mar 14, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 2 days ago –
Tools for package owners.