parent
b18bf2683a
commit
cd2e0cf3f1
|
@ -143,6 +143,15 @@ authorizer = Google::Auth::ServiceAccountCredentials.make_creds(
|
||||||
authorizer.fetch_access_token!
|
authorizer.fetch_access_token!
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Example (Environment Variables)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
export GOOGLE_ACCOUNT_TYPE=service_account
|
||||||
|
export GOOGLE_CLIENT_ID=000000000000000000000
|
||||||
|
export GOOGLE_CLIENT_EMAIL=xxxx@xxxx.iam.gserviceaccount.com
|
||||||
|
export GOOGLE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n"
|
||||||
|
```
|
||||||
|
|
||||||
### Storage
|
### Storage
|
||||||
|
|
||||||
Authorizers require a storage instance to manage long term persistence of
|
Authorizers require a storage instance to manage long term persistence of
|
||||||
|
|
Loading…
Reference in New Issue