---
title: "Get KMS Keys for Servers"
method: POST
path: "/organizations/{organization_id}/policies/rules/kmskeys"
tags: ["BackupPolicies"]
---

# Get KMS Keys for Servers

`POST /organizations/{organization_id}/policies/rules/kmskeys`

## Request

- Base URL: `//apis.druva.com/awsnative` (relative, and the document’s source URL is not known)
- URL: `//apis.druva.com/awsnative/organizations/{organization_id}/policies/rules/kmskeys`
- Auth: API key in header `Authorization`

Return kmskeys by organization

## Path parameters

- `organization_id` string, required

## Request body

- object
  - `copies` object
    - `cross_account_id` string
    - `cross_account_region` string
    - `first_region` string
    - `interval` integer
    - `policy_id` integer
    - `policyId` integer
    - `retention_amount` integer
    - `retention_type` string
    - `retention_unit` string
  - `rules` object[]
    - `regions` string[]
    - `resource_types` string[]
    - `id` integer
    - `policy_id` integer
    - `rule_type` string
    - `exclude` boolean
    - `all_accounts` boolean
    - `all_regions` boolean
    - `all_resource_types` boolean
    - `created_at` string
    - `updated_at` string
    - `rule_id` integer
    - `accounts` object[]
      - `rule_id` integer
      - `account_id` string
    - `matches` object
      - `tags` object[]
        - `Key` string
        - `Value` string
    - `resources` object[]
      - `rule_id` integer
      - `resource_id` string
      - `resource_name` string
      - `account_id` string
      - `type` string
      - `region` string

## Response `200`

200 response

- GetOrganizationsPoliciesRulesKmskeysResponse
  - `kmsKeys` string[]

## Other responses

- `201`: 201 response
- `401`: 401 response
- `403`: 403 response
- `404`: 404 response

---

[API](https://skmtc.dev/druva/apis/aws-native.md) - [All operations](https://skmtc.dev/druva/apis/aws-native/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/aws-native/revisions/6dd34c53e5f5?raw)
