LogoLogo
SupportDashboard
  • 👋Welcome to FenixPyre
  • Overview
    • 💡What we do
  • FenixPyre for Admins
    • Getting Started
      • Prerequisites Checklist
      • Creating a tenant for your Organization
      • Invite your team members
      • Create your Master Encryption Key
      • Setup SSO and automatic user provisioning
      • Create your first cloud integration
      • Setup User Policies
      • Install FenixPyre Windows Client in a machine
      • Firewall Whitelisting Requirements for FenixPyre Services
    • Admin Dashboard
      • Home
      • User Management
        • Invite your team members
        • Manage Guests
      • Groups Management
      • Installers
        • FenixPyre Windows Client
          • How to download FenixPyre Windows Agent from Installers Page
          • Auto Update and Upgrade Management of FenixPyre Windows Client
      • Reports
      • Integrations
        • SharePoint/OneDrive
          • Overview
          • How to enable FenixPyre integration in SharePoint
          • How to configure SharePoint Integration in Admin Dashboard
          • How to configure Auto Encrypted folders
        • Egnyte
        • Box
          • How to enable FenixPyre integration in Box
          • How to configure Box Integration in the Admin Dashboard
          • How to configure user policy (Protected folder)
      • Sharing Settings
      • Identity & Provisioning
        • Domain Management
          • Primary Domain
          • Guest Domain
        • SAML Single Sign-On (SSO) Setup
          • Set-up SAML SSO with Azure
            • Verify the SAML SSO
            • Sign-in to Admin Dashboard with Azure AD
            • Sign-in to SharePoint integration with Azure AD
          • Set-up SAML SSO with Okta
            • Adding users to Okta Application
            • How to verify SSO sign-in
            • Sign-in to SharePoint integration with Okta
        • Automatic Account Creation
        • SCIM
          • User Management with SCIM(SCIM events)
          • Set-up SCIM for Azure
            • How to provision a user
            • How to de-provision a user?
            • Known limitations
          • Set-up SCIM for OKTA
            • How to provision a user?
            • How to de-provision a user?
            • Known limitations
          • What happens when a user is de-provisioned?
          • Known Limitations
      • Key management
        • Master Encryption Keys
          • Create Master Encryption Key with FenixPyre
          • Setup Bring Your Own Master Encryption Key (BYOMEK) with Azure
            • Configure Azure Key Vault as Bring Your Own Key Provider
            • Create a Master Encryption Key and Store in Azure Key Vault
          • Setup Bring Your Own Master Encryption Key (BYOMEK) with Google HSM
            • Configure Google HSM as Bring Your Own Key Provider
            • Create a Master Encryption Key and Store in Google HSM
            • Import a master encryption key from Google HSM to FenixPyre
      • User Policies
        • Policy Rules Guide
      • User Applications
    • FenixPyre Windows Agent
      • Prerequisites for FenixPyre Windows Client Installation
      • How to download and install windows agent
      • How to install FenixPyre Windows Desktop Client
      • How to install FenixPyre Windows Desktop Client via command line or RMM
      • How to login to FenixPyre Windows Agent
    • Cloud Integrations
      • SharePoint/OneDrive
      • Box
      • On-Prem Secure Sharing Solution
        • Overview
  • FenixPyre For Users
    • SharePoint
      • Install and activate FenixPyre Chrome extension
      • How to encrypt files
      • How to open encrypted files
      • How to share and collaborate with a encrypted file
      • How to share and collaborate with a FenixPyre protected folder
      • How to decrypt files
      • How to view access logs for an encrypted file
      • How to clear browser cache for SharePoint
    • FenixPyre Sharing
      • How to encrypt files
      • How to open encrypted files
        • Supported File types for FenixPyre Sharing Open
      • How to share and collaborate with a encrypted file
      • How to share and collaborate with a FenixPyre protected folder
      • How to view access logs for an encrypted file
      • How to download a file
    • Windows Agent
      • How to login to FenixPyre Windows Agent
      • How to protect/un-protect folders with FenixPyre Windows Agent
      • How to encrypt a file using FenixPyre
      • How to open a file using FenixPyre
      • How to share a file using FenixPyre
      • How to un-install FenixPyre Windows Client
  • FenixPyre for Recipients
    • FenixPyre Sharing Guide
      • How to create new files from a FenixPyre shared link
      • How to request access for a link on FenixPyre
      • How to Create New Folders in a FenixPyre Shared Link
      • How to upload files to a FenixPyre shared link
      • How to download files from a FenixPyre shared link
      • How to co-edit a encrypted file from a FenixPyre shared link
      • How to open a FenixPyre encrypted file shared via SharePoint/OneDrive/Teams
  • FenixPyre Features
    • Offline mode
    • Compliance mode
  • FAQs / Trouble Shooting
    • How to collect FenixPyre agent logs
    • How to reload SharePoint Integration in FenixPyre
    • How to update SharePoint client Certificate
  • Release Notes
    • FenixPyre Windows Client Releases
      • Windows Agent v6.4.0
      • Windows Agent v6.3.0
      • Windows Agent v6.2.0
    • FenixPyre Cloud Releases
      • May 2025
      • March 2025
      • January 2025
  • References
    • Glossary
    • How to Guides
      • How to install WebView2 on your Windows Machine
      • How to enable TLS 1.2 on Windows for Agent Installation?
      • How to install Microsoft Visual C++ Redistributable (x64) 2019 or higher?
      • How to Whitelist FenixPyre's Windows Agent in your Antivirus/EDR/XDR?
      • How to zip and share FenixPyre windows client logs?
  • Group 1
    • Page 1
Powered by GitBook

© 2018-2025 FenixPyre Inc

On this page
  • Prerequisites
  • Steps to Set Up Azure Key Vault Managed HSM for FenixPyre
  • Video Tutorial

Was this helpful?

  1. FenixPyre for Admins
  2. Admin Dashboard
  3. Key management
  4. Master Encryption Keys
  5. Setup Bring Your Own Master Encryption Key (BYOMEK) with Azure

Configure Azure Key Vault as Bring Your Own Key Provider

PreviousSetup Bring Your Own Master Encryption Key (BYOMEK) with AzureNextCreate a Master Encryption Key and Store in Azure Key Vault

Last updated 3 months ago

Was this helpful?

Watch the video tutorial

Prerequisites

  • Azure Administrative Access: Confirm that you have administrative access to Microsoft Azure and that the Azure CLI is installed on your system.

  • FenixPyre Portal Administrative Access: Verify that you have administrative access to the FenixPyre portal to configure encryption key provider settings.


Steps to Set Up Azure Key Vault Managed HSM for FenixPyre

1

Create an Azure Key Vault Managed HSM

Azure Key Vault Managed HSM (Hardware Security Module) is a fully managed, single-tenant, highly available, and standards-compliant cloud service that safeguards cryptographic keys using FIPS 140-2 Level 3 validated HSMs.

  1. Navigate to the Home page on the Azure portal.

  2. Select Azure Key Vault Managed HSMs from the menu.

  3. Click on Create to start setting up your HSM.

  1. Choose the ideal region for your organization, such as East US. Assign a descriptive name to your HSM. Under Subscription, select Pay As You Go.

  1. Assign an administrator to manage the HSM.

  2. Click Create to complete the setup process.

  3. Verify that the provisioning status shows Succeeded, indicating the HSM was created successfully.

Important Note: Consider selecting Disable purge protection for flexibility during the retention period.

2

Activate Azure Key Vault Managed HSM

Before using the HSM, activation is required. During activation, data plane commands (e.g., creating keys or assigning roles) are disabled. Only administrators assigned during HSM creation can perform activation.

Generate RSA Key-Pairs:

  • You need to generate at least three (up to ten) RSA key-pairs. The minimum number required to decrypt the security domain is known as a quorum.

Generate RSA Key-Pairs Using OpenSSL: Run the following commands to create three self-signed certificates:

openssl req -newkey rsa:2048 -nodes -keyout cert_0.key -x509 -days 365 -out cert_0.cer
openssl req -newkey rsa:2048 -nodes -keyout cert_1.key -x509 -days 365 -out cert_1.cer
openssl req -newkey rsa:2048 -nodes -keyout cert_2.key -x509 -days 365 -out cert_2.cer

Download the Security Domain: Use the RSA public keys to download the security domain:

az keyvault security-domain download --hsm-name ContosoMHSM --sd-wrapping-keys ./certs/cert_0.cer ./certs/cert_1.cer ./certs/cert_2.cer --sd-quorum 2 --security-domain-file ContosoMHSM-SD.json

Complete Activation:

  • Once the command executes successfully, your HSM will activate.

  • Allow a few minutes for activation to complete.

Important: Store the RSA key pairs and the security domain file securely for future use, such as disaster recovery or setting up another HSM sharing the same security domain.

3

Register an Application in Azure for FenixPyre

  1. Log in to the Azure Portal: Access the Azure portal and sign in.

  2. Navigate to Microsoft Entra ID: Select Microsoft Entra ID from the menu.

  3. Open App Registrations: Click + Add and then select App Registration.

  1. Register a New App: Provide a name for your app and click Create to register it.

  1. Create a client secret

    • In the app settings, navigate to Certificates & Secrets.

    • Click + New Client Secret, provide a description, and click Add.

    • Copy and store the client secret securely as it will only be shown once.

4

Configure Role-Based Access Control (RBAC) for Azure Key Vault Managed HSM

  1. Access Managed HSM: In the Azure portal, open the HSM you created.

  2. Open the RBAC Tab: Select the RBAC tab.

  1. Create Local RBAC: Click the + icon to create a new role assignment. Select Managed HSM Crypto User under Roles and All keys under Scope.

  1. Select Security Principal: Click Select Security Principal and choose Enterprise Applications. Then, select your previously registered app.

  2. Finalize RBAC Setup: Complete the role assignment process to grant the appropriate permissions to the app.

5

Finalize the Encryption Key Provider Setup in FenixPyre

  1. Assign a Vault Name: In the FenixPyre portal, provide a unique and descriptive name for your vault.

  1. Copy HSM URI: Copy the HSM URI from the Azure HSM overview page.

  1. Copy Client ID and Tenant ID: Retrieve the Client ID and Tenant ID from your registered app.

  1. Use Client Secret: Use the client secret you copied earlier.

  2. Verify and Finalize Setup in FenixPyre: In the FenixPyre dashboard, paste the HSM URI, Client ID, Tenant ID, and Client Secret. Click Verify, then Create to finalize the setup.

By following these steps, you will have successfully set up and integrated Azure Key Vault Managed HSM with FenixPyre.

Video Tutorial

here