erbalo / gcp-tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GCP tools

How to create a JWT token

Install dependencies:

$> npm instal

Modifies the service account json

{
    "type": "service_account",
    "project_id": "your-project-id",
    "private_key_id": "your-private-key-id",
    "private_key": "your-private-key",
    "client_email": "your-client-email",
    "client_id": "your-client-id",
    "auth_uri": "https://accounts.google.com/o/oauth2/auth",
    "token_uri": "https://accounts.google.com/o/oauth2/token",
    "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
    "client_x509_cert_url": "your-cert-url"
}

Run the command

$> npm run create-token

About


Languages

Language:JavaScript 100.0%