> For the complete documentation index, see [llms.txt](https://docs.fenixpyre.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fenixpyre.com/fenixpyre-for-admins/getting-started/create-your-master-encryption-key.md).

# Create your Master Encryption Key

A Master Encryption Key (MEK) is a crucial key generated by an organization and stored within a Hardware Security Module (HSM). These keys are used to encrypt File Encryption Keys before they are stored in the database. MEKs are essential in key management systems, significantly enhancing data security and controlling access.<br>

<figure><img src="/files/qmBDaFN7Yj16rtY8eclP" alt="" width="188"><figcaption><p>Master Encryption Key Architecture</p></figcaption></figure>

{% hint style="warning" %}
Admins must ensure that a Master Encryption Key is created for your organization as FenixPyre's file encryption and decryption require an active key before proceeding to installing Windows Agent or using Fenix Share.
{% endhint %}

FenixPyre provides three distinct methods to generate your Master Key, allowing for flexibility tailored to your security needs and preferences. Select the option that aligns best with your organization’s requirements:

1. [Create Your Own Master Key with FenixPyre](/fenixpyre-for-admins/admin-dashboard/key-management/master-encryption-keys/create-master-encryption-key-with-fenixpyre.md)
2. [Bring Your Own Google HSM (Hardware Security Module)](/fenixpyre-for-admins/admin-dashboard/key-management/master-encryption-keys/setup-bring-your-own-master-encryption-key-byomek-with-google-hsm/create-a-master-encryption-key-and-store-in-google-hsm.md)
3. [Bring Your Own Azure HSM (Hardware Security Module)](/fenixpyre-for-admins/admin-dashboard/key-management/master-encryption-keys/setup-bring-your-own-master-encryption-key-byomek-with-azure/configure-azure-key-vault-as-bring-your-own-key-provider.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.fenixpyre.com/fenixpyre-for-admins/getting-started/create-your-master-encryption-key.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
