---
title: "Create GCP key with keyless authentication"
method: POST
path: "/business/gcp-keys/keyless"
tags: ["Gcp Keys"]
---

# Create GCP key with keyless authentication

`POST /business/gcp-keys/keyless`

## Request

- Base URL: `https://asm.cloud.tenable.com/api/1.0`
- URL: `https://asm.cloud.tenable.com/api/1.0/business/gcp-keys/keyless`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/tenable/apis/attack-surface-management/docs/business/gcp-keys/keyless/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a new GCP (Google Cloud Platform) integration with keyless authentication in the business of the current user.

## Request body `multipart/form-data`

- object
  - `file` string, binary, required: Workload Identity Federation JSON file
  - `name` string, required: A name for the GCP key

## Response `200`

Returned if Tenable Attack Surface Management successfully created the GCP key.

- object
  - `id` number, required: The ID of the newly created GCP key.

## Other responses

- `401`: Returned if you do not have permissions to create an GCP key.
- `500`: Returned if an internal error occurred in Tenable Attack Surface Management.

---

[API](https://skmtc.dev/tenable/apis/attack-surface-management.md) - [All operations](https://skmtc.dev/tenable/apis/attack-surface-management/llms.txt) - [OpenAPI document](https://skmtc.dev/tenable/apis/attack-surface-management/revisions/465c06285e48?raw)
