---
title: "POST /v1/{+project}/{+region}/{+cluster}:injectCredentials"
method: POST
path: "/v1/{+project}/{+region}/{+cluster}:injectCredentials"
tags: ["projects"]
---

# POST /v1/{+project}/{+region}/{+cluster}:injectCredentials

`POST /v1/{+project}/{+region}/{+cluster}:injectCredentials`

Inject encrypted credentials into all of the VMs in a cluster.The target cluster must be a personal auth cluster assigned to the user who is issuing the RPC.

## Path parameters

- `project` string, required
- `region` string, required
- `cluster` string, required

## Request body

- InjectCredentialsRequest — A request to inject credentials into a cluster.
  - `clusterUuid` string — Required. The cluster UUID.
  - `credentialsCiphertext` string — Required. The encrypted credentials being injected in to the cluster.The client is responsible for encrypting the credentials in a way that is supported by the cluster.A wrapped value is used here so that the actual contents of the encrypted credentials are not written to audit logs.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/dataproc.md) · [All operations](https://skmtc.net/google/apis/dataproc/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/dataproc/versions/15847ccbcf7d/schema)
