The command used to retrieve the 3rd party token.
An optional output file location that will be checked for a cached response from a previous run of the executable.
The timeout for executable to run in milliseconds. If none is provided it will be set to the default timeout of 30 seconds.
The expiration threshold in milliseconds before forcing token refresh of unexpired tokens.
Whether to attempt to refresh tokens on status 401/403 responses even if an attempt is made to refresh the token preemptively based on the expiry_date.
A Gaxios or Transporter instance to use for AuthClient requests.
Provides default options to the transporter, such as agent or
retryConfig.
Defines the credential source portion of the configuration for PluggableAuthClient.
Command is the only required field. If timeout_millis is not specified, the library will default to a 30-second timeout.
Sample credential source for Pluggable Auth Client: { ... "credential_source": { "executable": { "command": "/path/to/get/credentials.sh --arg1=value1 --arg2=value2", "timeout_millis": 5000, "output_file": "/path/to/generated/cached/credentials" } } }