Documentation
¶
Overview ¶
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 ¶
View Source
const PASS_FOLDER = "docker-credential-helpers"
Variables ¶
View Source
var (
PassInitialized bool
)
Functions ¶
This section is empty.
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.
Click to show internal directories.
Click to hide internal directories.