Skip to content

Documentation for GCP .spc connection file #2849

Discussion options

You must be logged in to vote

Hey @Engr-Asad-Hussain, you can convert the JSON content to string and can use it directly in the connection spc file. For example:
If your JSON creds look like below:

{
  "type": "service_account",
  "project_id": "your-project-name",
  "private_key_id": "your-private-key-id",
  "private_key": "-----BEGIN PRIVATE KEY-----\nyour-private-key\n-----END PRIVATE KEY-----\n",
  "client_email": "your-service-account-email",
  "client_id": "service-account-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": "https://www.…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by misraved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQ
Labels
None yet
2 participants