petscii-bbs icon indicating copy to clipboard operation
petscii-bbs copied to clipboard

Provide credentials.example.json

Open ssshake opened this issue 5 years ago • 2 comments

Could you please provide an example credentials file and perhaps instructions on how to generate the credentials (api token, user pass?)

ssshake avatar Oct 22 '19 19:10 ssshake

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

sblendorio avatar Oct 23 '19 08:10 sblendorio

thanks!

ssshake avatar Oct 24 '19 14:10 ssshake