package pass
import "github.com/docker/docker-credential-helpers/pass"
A `pass` based credential helper. Passwords are stored as arguments to pass of the form: "$PASS_FOLDER/base64-url(serverURL)/username". We base64-url encode the serverURL, because under the hood pass uses files and folders, so /s will get translated into additional folders.
Index ¶
Constants ¶
const PASS_FOLDER = "docker-credential-helpers"
Variables ¶
var ( PassInitialized bool )
Types ¶
type Pass ¶
type Pass struct{}
Pass handles secrets using Linux secret-service as a store.
func (Pass) Add ¶
func (h Pass) Add(creds *credentials.Credentials) error
Add adds new credentials to the keychain.
func (Pass) Delete ¶
Delete removes credentials from the store.
func (Pass) Get ¶
Get returns the username and secret to use for a given registry server URL.
func (Pass) List ¶
List returns the stored URLs and corresponding usernames for a given credentials label
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
pass/cmd |
- Version
- v0.6.0
- Published
- Aug 30, 2017
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 2 hours ago –
Tools for package owners.