# 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: 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://docs.fenixpyre.com/fenixpyre-for-admins/getting-started/create-your-master-encryption-key.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.
