Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide credentials.example.json #20

Open
ssshake opened this issue Oct 22, 2019 · 2 comments
Open

Provide credentials.example.json #20

ssshake opened this issue Oct 22, 2019 · 2 comments

Comments

@ssshake
Copy link

ssshake commented Oct 22, 2019

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

@sblendorio
Copy link
Owner

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

@ssshake
Copy link
Author

ssshake commented Oct 24, 2019

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants