@sebspark/gcp-iam
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@sebspark/gcp-iam

Google IAM utilities. This package is intended to be run in GCP contexts, such as running under a GKE service account using Workload Identity.

Explanation

It generates the JWT that we put into the proxy-authorization header. That JWT is signed by the GCP service account and the aud part of the JWT is set to the URL we are going to call in the API Gateway.

Generating and signing the JWT uses a bunch of CPU cycles, so it makes sense to cache them for a short time.

Readme

Keywords

none

Package Sidebar

Install

npm i @sebspark/gcp-iam

Weekly Downloads

312

Version

1.1.0

License

Apache-2.0

Unpacked Size

23.2 kB

Total Files

7

Last publish

Collaborators

  • johanobrink
  • alexanderczigler
  • raduachim
  • believer