Documentation ¶
Overview ¶
Package jwt contains utility functions for generating JWTs from a service account.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateJWT ¶
GenerateJWT returns a signed JWT derived from a Google service account. By default, it will generate it based on the service account key defined in the GOOGLE_APPLICATION_CREDENTIALS environment variable. If not, it will assume we are running in a GCE VM, and attempt to use the default service account credentials to generate the JWT instead.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.