google token generator
Project description
how to use
from gcpTokenGenerator import tokenGenerator
conf = {
"STG_Conf": {
"account": '{your service account}', # need to get from dev ops
"host": '{your project id}',
"target_audience": '{your client id}',
"iap": True,
},
"PRD_Conf": {
"account": '{your service account}', # need to get from dev ops
"host": '{your project id}',
"target_audience": '{your client id}',
"iap": True,
}
}
instance = tokenGenerator(conf)
token = instance.generateToken('STG_Conf')
print('token', token)
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for gcpTokenGenerator-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58f215f3e5e4cd4204947f98ec11025d8511ed9e9484e327bb0d9ef130796a4e |
|
MD5 | 20247bb69e372c64584e89ae05567908 |
|
BLAKE2b-256 | d6f0e803a1637d4cd486c32ee30f8464cafe56e0b7c96b202fbcc20322703d87 |