> 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="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FtlNvrxnHTKCpMdGRS2MS%2FOnboarding%202.0%20Frame%2011.jpg?alt=media&amp;token=4e5522de-eaf7-4730-acac-4a600afff82f" 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](https://docs.fenixpyre.com/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)](https://docs.fenixpyre.com/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)](https://docs.fenixpyre.com/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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
