Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.
/ iap-token-source Public archive

Go oauth2 Token Source for client authentication with GCP Identity Aware Proxy

License

Notifications You must be signed in to change notification settings

bakins/iap-token-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated: use https://pkg.go.dev/google.golang.org/api/idtoken?tab=doc

GoDoc CircleCI

iap-token-source

Go package that provides an oauth2 token source to use for authentication to services secured with Google Identity Aware Proxy.

Status

Under development. This has been tested with only a few IAP configurations.

Usage

Note: this package only works with Google Service Accounts

This package can be used to authenticate HTTP and gRPC clients with Google's Identity Aware Proxy (better known as "IAP").

By default, the package uses Application Default Credentials - it will use the service account key at the path specified in the environment variable GOOGLE_APPLICATION_CREDENTIALS.

See the gRPC and HTTP examples for more information.

References

LICENSE

See LICENSE

About

Go oauth2 Token Source for client authentication with GCP Identity Aware Proxy

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages