iap

package
v1.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2022 License: BSD-3-Clause Imports: 23 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL