oidc-keychain1
Re-uses oidc-agent across logins
Usage
oidc-keychain [{-? | --help | --usage | -V | --version}]
[{-k | --kill}]
oidc-keychain [oidc-agent
options]
[--accounts
ACCOUNT ...]
Overview
oidc-keychain -- Re-use oidc-agent between logins
oidc-agent options will be passed to oidc-agent when starting it.
-
General:
-
-k, --kill -
Kill oidc-agent if it is running
--accounts ACCOUNT ... Load the ACCOUNTs if not already loaded
-
Help:
-
-?, --help -
Give this help list
-
--usage -
Give a short usage message
-
-V, --version -
Print program version
Files
~/.config/oidc-agent/.keychain or ~/.oidc-agent/.keychain
oidc-keychain stores the configuration of a running oidc-agent in one of these files.
Examples
oidc-keychain
Starts oidc-agent if not already started and prints the commands needed for setting the required environment variables.
eval `oidc-keychain --accounts myaccount`
Starts oidc-agent if not already started, loads the 'myaccount' account if not already loaded, and sets the required environment variables (only for this shell).
eval `oidc-keychain -k`
Kills a running oidc-agent and unsets the environment variables from this shell.
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.