Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckEnvironmentShortCircuit ¶ added in v1.0.4
func CheckEnvironmentShortCircuit() string
CheckEnvironmentShortCircuit will return an IAP ID token itself if and only if one was provided out-of-band. The caller can use it before calling TokenProvider to possibly avoid the need for Thelma to do its own Vault and GCP authentication.
func TokenProvider ¶
func TokenProvider(thelmaConfig config.Config, creds credentials.Credentials, vaultClient *vaultapi.Client, runner shell.Runner) (credentials.TokenProvider, error)
TokenProvider returns a new token provider for IAP tokens
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.