GoogleCloudPlatform / node-red-contrib-google-cloud

Node-RED nodes for Google Cloud Platform
Apache License 2.0
90 stars 57 forks source link

Add support for Application Default Credentials #47

Closed kolban-google closed 4 years ago

kolban-google commented 4 years ago

It is a given that calls to GCP services must be authenticated. Currently we provide the ability to provide credentials (JSON) as either a file or a Node-RED secret ... but there is a 3rd way ... we simply specify nothing and the environment gives us a default identity. This is true if we are running on a compute engine, GKE or ... for my immediate purposes ... Cloud Run. This issue will track the ability to provide NO definition for security credentials resulting in the defaults being used.

kolban-google commented 4 years ago

The coding has been completed for each of the nodes and the README updated. This has been published as part of 0.0.11.