google-auth-library-php icon indicating copy to clipboard operation
google-auth-library-php copied to clipboard

Becase GOOGLE_APPLICATION_CREDENTIALS must be a file there is a security degradation

Open NiklasBr opened this issue 1 year ago • 1 comments

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

Is your feature request related to a problem? Please describe.

Most libraries and environments support loading secrets and sensitive data from a manager like AWS Secrets and 1Password to avoid storing this data in the repository.

However, because GOOGLE_APPLICATION_CREDENTIALS must be a file it cannot be used with 1Password to avoid checking in this sensitive data in the VCS.

Describe the solution you'd like

Allow CredentialsLoader to detect if a proper JSON (string) is loaded instead of just checking for a path.

Describe alternatives you've considered

Using CloudFlare rather than reCAPTCHA Enterprise.

Additional context

n/a

NiklasBr avatar Jul 10 '24 14:07 NiklasBr

Related to:

  • https://github.com/googleapis/google-api-go-client/issues/185
  • https://github.com/googleapis/google-auth-library-ruby/issues/316

NiklasBr avatar Jul 11 '24 07:07 NiklasBr