turbot / steampipe-plugin-googlesheets

Use SQL to instantly query spreadsheets, sheets, and cell data from Google Sheets. Open source CLI. No DB required.
https://hub.steampipe.io/plugins/turbot/googlesheets
Apache License 2.0
31 stars 0 forks source link

Update credential order and plugin docs #14

Closed Subhajit97 closed 2 years ago

Subhajit97 commented 2 years ago

Is your feature request related to a problem? Please describe. Currently the credential order is defined in following order:

1. Credentials from the JSON file specified by the `token_path` parameter in your Steampipe config.
2. Credentials from the default json file location (`~/.config/gcloud/application_default_credentials.json`).
3. Credentials from the JSON file specified by the `credentials` parameter in your Steampipe config.

But, other google plugins i.e. googleworkspace and googledirectory using following order:

1. Credentials from the JSON file specified by the `credentials` parameter in your Steampipe config.
2. Credentials from the JSON file specified by the `token_path` parameter in your Steampipe config.
3. Credentials from the default json file location (`~/.config/gcloud/application_default_credentials.json`).

Describe the solution you'd like Update the credential order to make it consistent with googleworkspace and googledirectory.