Instead, use gcloud config config-helper:
Instead, we should subprocess out to gcloud config config-helper --format json
Example output:
{
"configuration": {
"active_configuration": "default",
"properties": {
"core": {
"account": "[ELIDED]",
"disable_usage_reporting": "False",
"project": "[ELIDED]"
}
}
},
"credential": {
"access_token": "[ELIDED]",
"token_expiry": "2017-03-23T23:09:49Z"
},
"sentinels": {
"config_sentinel": "/Users/jonwayne/.config/gcloud/config_sentinel"
}
}
Context: googleapis/google-auth-library-python#146
Instead, use
gcloud config config-helper:Instead, we should subprocess out to
gcloud config config-helper --format jsonExample output:
Context: googleapis/google-auth-library-python#146