Skip to content

A CLI tool for creating a bearer token from a gcp serviceaccount json.

License

Notifications You must be signed in to change notification settings

xamma/gcp-sa2bearer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GCP-SA2BEARER

This CLI tool allows you to get a valid Bearer Token from a GCP ServiceAccount.json file.
You can find the format of an example SA-File in the /docs folder.

How it works

The tool creates a jwt and exchanges it for a Bearer token via OAuth2 Workflow.

How to use

Just use one of the releases or build from source.

sa2bearer -keyfile=./Path/to/keyfile.json

# Compile from source
go build -o sa2bearer

About

A CLI tool for creating a bearer token from a gcp serviceaccount json.

Resources

License

Stars

Watchers

Forks

Packages

No packages published