k8stok

command module
v0.0.0-...-a4e8d3c Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

README

Simple tool to get tokens from K8S and GKE.

By default it returns a JWT issued by K8S with audience "istio-ca", suitable to use with Istiod for debug.

The audience can be customized using "-aud AUDIENCE" - typically should be the base URL of the service where the token is used.

Using "-fed" returns a federated token - i.e. a JWT signed by Google, authenticating the K8S SA directly.

Using "-gsa GSA" will return a JWT token for the GSA. "default" will use the ASM data plane service account.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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