Documentation
¶
Index ¶
Constants ¶
View Source
const (
// KeyringUser is the "account" used to store credentials in the keyring. Here we use atmos-auth to provide a consistent way to search for atmos credentials.
KeyringUser = "atmos-auth"
)
Variables ¶
View Source
var ErrCredentialStore = errors.New("credential store")
ErrCredentialStore is the static sentinel for credential-store failures.
View Source
var ErrListNotSupported = errors.New("listing credentials is not supported with keyring backend")
ErrListNotSupported indicates that listing credentials is not supported with keyring backend.
View Source
var ErrNotSupported = errors.New("not supported")
ErrNotSupported indicates an unsupported operation for this backend.
Functions ¶
func NewCredentialStore ¶
func NewCredentialStore() types.CredentialStore
NewCredentialStore creates a new credential store instance.
func NewKeyringAuthStore ¶
func NewKeyringAuthStore() *keyringStore
NewKeyringAuthStore creates a new keyring-based auth store (for backward compatibility).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.