---
title: "POST /EncryptionConfig"
method: POST
path: "/EncryptionConfig"
---

# POST /EncryptionConfig

`POST /EncryptionConfig`

Retrieves the current encryption configuration for X-Ray data.

## Response `200`

Success

- GetEncryptionConfigResult
  - `EncryptionConfig` object — The encryption configuration document.
    - `KeyId` string — The ID of the KMS key used for encryption, if applicable.
    - `Status` 'UPDATING' | 'ACTIVE' — The encryption status. While the status is <code>UPDATING</code>, X-Ray may encrypt data with a combination of the new and old settings.
    - `Type` 'NONE' | 'KMS' — The type of encryption. Set to <code>KMS</code> for encryption with KMS keys. Set to <code>NONE</code> for default encryption.

## Other responses

- `480` — InvalidRequestException
- `481` — ThrottledException

---

[API](https://skmtc.net/aws/apis/xray.md) · [All operations](https://skmtc.net/aws/apis/xray/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/xray/versions/4970909a360e/schema)
