Documentation
¶
Overview ¶
Package auth defines storage-independent authentication failures.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // ErrCredentialNotFound identifies the corresponding authentication-source failure. ErrCredentialNotFound = errors.New("credential not found") // ErrCredentialStoreLocked identifies the corresponding authentication-source failure. ErrCredentialStoreLocked = errors.New("credential store is locked") ErrCredentialStoreUnavailable = errors.New("credential store is unavailable") // ErrCredentialAccessDenied identifies the corresponding authentication-source failure. ErrCredentialAccessDenied = errors.New("credential access denied") // ErrConfigConflict identifies the corresponding authentication-source failure. ErrConfigConflict = errors.New("configuration conflict") // ErrInvalidRef identifies the corresponding authentication-source failure. ErrInvalidRef = errors.New("invalid credential reference") // ErrStoreNotFound identifies the corresponding authentication-source failure. ErrStoreNotFound = errors.New("credential store not found") // ErrProxyCycle identifies a cycle in a resolved jump-host plan. ErrProxyCycle = errors.New("proxy jump cycle detected") )
Functions ¶
func RecoverableRead ¶
RecoverableRead classifies source availability failures for an explicitly interactive caller. Invalid references, conflicts and cancellation never authorize temporary credential input, even when joined to an availability error. This grants no permission to persist a replacement secret.
Types ¶
This section is empty.