https://github.com/rinx/gcloud-auth-proxy
[Still in early development] A proxy for Google-signed authentication tokens
https://github.com/rinx/gcloud-auth-proxy
Last synced: 8 months ago
JSON representation
[Still in early development] A proxy for Google-signed authentication tokens
- Host: GitHub
- URL: https://github.com/rinx/gcloud-auth-proxy
- Owner: rinx
- License: unlicense
- Created: 2024-06-07T10:35:09.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-10T10:36:31.000Z (almost 2 years ago)
- Last Synced: 2025-10-10T02:00:02.890Z (8 months ago)
- Language: Go
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Google Cloud Auth Proxy
[](https://github.com/users/rinx/packages/container/package/gcloud-auth-proxy)
[](https://github.com/users/rinx/packages/container/package/gcloud-auth-proxy)
This is a software that provides [Google-signed authentication tokens][google-token] in several ways.
Currently, it supports the following token types.
- [Google-signed ID Token][google-id-token]
[google-token]: https://cloud.google.com/docs/authentication/token-types
[google-id-token]: https://cloud.google.com/docs/authentication/get-id-token#go
## Usecase
TBW
## Usage
Deploy gcloud-auth-proxy as a sidecar with your application.
Container is available on `ghcr.io/rinx/gcloud-auth-proxy:latest`.
CLI flags are the followings.
```bash
Usage:
gcloud-auth-proxy [flags]
Flags:
--audience string default audience (required)
-h, --help help for gcloud-auth-proxy
--host string server host (default "0.0.0.0")
--port string server port (default "8100")
--token-source-cache-duration string token source cache duration (default "30m")
-v, --version version for gcloud-auth-proxy
```
### Endpoints
| endpoint | method | description |
|------------------|--------|------------------|
| `/idtoken` | POST | returns ID Token |
| `/idtoken/proxy` | | forwards HTTP request and appends ID Token to its header |
| `/healthz` | | health check endpoint |
| `/readyz` | | readiness check endpoint |
## Similar Projects
- [DazWilkin/gcp-oidc-token-proxy](https://github.com/DazWilkin/gcp-oidc-token-proxy)