---
title: "List AWS keys"
method: GET
path: "/business/aws-keys"
tags: ["Aws Keys"]
---

# List AWS keys

`GET /business/aws-keys`

## Request

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

Returns all AWS (Amazon Web Services) key related data for the business of the current user. The data includes the name and ID of each AWS key.

## Response `200`

Returned if Tenable Attack Surface Management successfully retrieved the list of AWS keys for the business of the current user.

- object[]
  - `id` integer, required: The unique ID of the AWS key.
  - `name` string, required: The name of the AWS key.

## Other responses

- `401`: Returned if you do not have permissions to list AWS keys.
- `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)
