---
title: "Create Google Cloud Credential"
method: POST
path: "/v1/credentials/googleCloud"
tags: ["Cloud"]
---

# Create Google Cloud Credential

`POST /v1/credentials/googleCloud`

Create a new credential for Google Cloud.

## Response `201`

Created. Returns the newly created Google Cloud credential.

- GoogleCloudCredentialObject
  - `credentialId` string, required — Google Cloud credential ID
  - `type` 'googleCloud', required
  - `params` object, required
    - `name` string, required — Name of the credential
    - `keyType` string, required — The type of the credential
    - `projectId` string, required — The ID of the Google Cloud project from which the credential was created

## Other responses

- `400` — Bad Request. Occurs when no file is found or the file is invalid.
- `409` — Conflict. Occurs when the credentials are already in use.

---

[API](https://skmtc.net/lucid/apis/lucid-rest-api.md) · [All operations](https://skmtc.net/lucid/apis/lucid-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lucid/lucid-rest-api/revisions/6a32cb9e1aa7/schema)
