googleapis / google-auth-library-python-oauthlib

Apache License 2.0
186 stars 82 forks source link

Ability to read client secrets from an external source like google secret manager #289

Open kshitij-enable opened 1 year ago

kshitij-enable commented 1 year ago

Flow for the client credentials can be instantiated with either 2 methods.

  1. from_client_secrets_file
  2. from_client_config

However, we intend to persist client credentials in an external vault like google secret manager and would like to have an instantiation mechanism by passing the secrets as arguments rather than local file or config.

sai-sunder-s commented 1 year ago

Thank you for your request. IIUC, you would like to

Is there a reason you cannot create a json yourself with all the info and pass it in to from_client_config?