credentials

package
v1.195.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL