petscii-bbs
petscii-bbs copied to clipboard
Provide credentials.example.json
Could you please provide an example credentials file and perhaps instructions on how to generate the credentials (api token, user pass?)
Hi,
credential.json is the json form of a Google Service Account:
{
"type": "service_account",
"project_id": "...",
"private_key_id": "...",
"private_key": "...",
"client_email": "...",
"client_id": "...",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "..."
}
A "Service Accounts" acts as a "token" authenticated with your own credentials, for use inside an application like this.
This page https://cloud.google.com/iam/docs/creating-managing-service-account-keys describes how to obtain it. Basically this is the control panel for service accounts: https://console.cloud.google.com/projectselector2/iam-admin
thanks!