A credential helper is a small program that a command-line tool calls to fetch or store login details, so they stay out of config files.
A credential helper is a plugin protocol that lets a tool ask another program for credentials. Git is the best-known example: its gitcredentials documentation describes helpers that Git runs to store, get and erase usernames and passwords, such as the operating system keychain helpers or a cache that keeps credentials in memory for a short time. Docker uses the same idea with credential stores and helpers, so docker login saves registry credentials in the macOS Keychain, Windows Credential Manager or a secret service instead of a plain config file. Cloud CLIs and package managers have similar mechanisms. The protocol is usually simple: the tool writes a few key-value lines such as protocol and host to the helper's standard input, and the helper replies with a username and a password or token. The benefit is that secrets live in an encrypted store, not in dotfiles that get backed up, committed or read by other processes. The risk is that a helper that hands out credentials freely can be abused by any process that can call it, so good ones prompt or apply policy. The bpw command includes credential helpers for Git, Docker, the AWS CLI and kubectl that answer only inside an agent session and only for a credential and host you granted. The tool receives the value, so the grant is always a disclosing one.