GET
/
api
/
v1
/
kms
/
keys
curl --request GET \
  --url https://us.infisical.com/api/v1/kms/keys
{
  "keys": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "description": "<string>",
      "isDisabled": false,
      "orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "projectId": "<string>",
      "version": 1,
      "encryptionAlgorithm": "<string>"
    }
  ],
  "totalCount": 123
}

Query Parameters

projectId
string
required

The ID of the project to list keys from.

offset
number
default:
0

The offset to start from. If you enter 10, it will start from the 10th key.

Required range: x > 0
limit
number
default:
100

The number of keys to return.

Required range: 1 < x < 100
orderBy
enum<string>
default:
name

The column to order keys by.

Available options:
name
orderDirection
enum<string>
default:
asc

The direction to order keys in.

Available options:
asc,
desc

The text string to filter key names by.

Response

200
application/json
Default Response
keys
object[]
required
totalCount
number
required