google_search_console
How to get these credentialsGoogle Search Console credentials (scope webmasters.readonly). Provide ONE of: service_account_json (a service-account key, the account added to the Search Console property as a user); client_id + client_secret + refresh_token (an OAuth user grant); or access_token (short-lived). quota_project_id optionally bills API quota to a specific Google Cloud project.
CREATE SECRET google_search_console (
TYPE google_search_console,
service_account_json '<GOOGLE_SEARCH_CONSOLE_SERVICE_ACCOUNT_JSON>', -- secret
client_id '<client_id>',
client_secret '<GOOGLE_SEARCH_CONSOLE_CLIENT_SECRET>', -- secret
refresh_token '<REFRESH_TOKEN>', -- secret
access_token '<ACCESS_TOKEN>', -- secret
quota_project_id '<quota_project_id>'
);
| Key | Type | Required | Description |
|---|---|---|---|
| service_account_json secret | VARCHAR | β | Contents of a service-account JSON key file. |
| client_id | VARCHAR | β | OAuth client id of a user grant. |
| client_secret secret | VARCHAR | β | OAuth client secret of a user grant. |
| refresh_token secret | VARCHAR | β | OAuth refresh token granting webmasters.readonly. |
| access_token secret | VARCHAR | β | Short-lived OAuth access token (about an hour). |
| quota_project_id | VARCHAR | β | Google Cloud project to bill API quota to (optional). |
The worker doesn't mark which keys are required.