Without –token, af prints a web address and a one-time code to enter there, in any browser. The sign-in is saved in the credential file and used by later commands until it expires.
Usage
af auth [OPTIONS]Options
-
--token <TOKEN>OpenID Connect ID token obtained some other way, to sign in without a browser
Environment variable:
AF_TOKEN -
--client-secret <CLIENT_SECRET>Client secret for the identity provider, if it requires one for command-line apps
Environment variable:
AF_OIDC_CLIENT_SECRET
Global options
Every af command also takes the global options.
Examples
af auth