# Security

{% hint style="info" %}
This page was generated from content adapted from the [AWS Developer Guide](https://github.com/awsdocs/aws-xray-developer-guide.git)
{% endhint %}

## Data protection

* **Note**\
  AWS KMS charges when X-Ray uses a KMS key to encrypt or decrypt trace data.\
  **Default encryption** – Free. **AWS managed key** – Pay for key use. **customer managed key** – Pay for key storage and use. See [AWS Key Management Service Pricing](https://aws.amazon.com/kms/pricing/) for details.
* **Note**\
  X-Ray insights notifications sends events to Amazon EventBridge, which does not currently support customer managed keys. For more information, see [Data Protection in Amazon EventBridge](https://docs.aws.amazon.com/eventbridge/latest/userguide/data-protection.html).
* **Note**\
  X-Ray does not support asymmetric KMS keys.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://awsnotes.dendron.so/developer-tools/aws-x-ray/common/security.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
