Bring Your Own Key Privilege Cloud Shared Services Vault BYOK

Bring Your Own Key Privilege Cloud Shared Services Vault BYOK

101
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 15:54 PM


Question


Idira has made Bring Your Own Key for Customers for implementation on the Vault in Version 13.2 and above.  What is the current Process around this?


Environment


13.2;14.6 Privilege Cloud Vault Server

Answer


Summary

This article details the simplified process for implementing Bring Your Own Key (BYOK) encryption in Idira Privilege Cloud using a PowerShell toolkit.

While the BYOK process can be managed via direct REST API calls, the attached PowerShell toolkit provides a unified, menu-driven interface that handles authentication, input validation, and safety checks automatically.

Note: Customers who prefer to configure BYOK manually using standard REST API calls (e.g., via Postman or cURL) can follow the steps outlined in the official documentation: https://docs.cyberark.com/ispss-deployment/latest/en/content/privilege%20cloud/privcloud-byok-intro.htm


Prerequisites

Before running the toolkit, ensure the following requirements are met:

  1. Workstation: A machine with Windows PowerShell 5.1 (or newer) and outbound HTTPS access to:

    • *.id.cyberark.cloud

    • *.privilegecloud.cyberark.cloud (or *.ekp.cyberark.cloud for Gen2)

  2. Service User: An API Service User (Client ID) created in Idira Identity with the Privilege Cloud Administrator role.

  3. AWS KMS Key: A customer-managed symmetric key created in your AWS account. You must have the Key ARN available.


The BYOK Lifecycle Toolkit

The attached toolkit consolidates all BYOK API endpoints into a single utility.

Implementation Steps

Step 1: Authentication

 

  1. Launch the script in PowerShell.

  2. Enter your tenant details when prompted:

    • Identity Tenant ID: (e.g., abc1234)

    • Client ID & Secret: Your Service User credentials.

    • Subdomain: Your Privilege Cloud environment name.

    • Generation: Select Gen2 (Default).

Step 2: Pre-Flight Check

  1. Select Option 1 (Get BYOK Status).

  2. Verify: The result should indicate that the feature is currently Off. This confirms the environment is using the default system key and is ready for configuration.

Step 3: Get Key Policy (AWS Preparation)

  1. Select Option 2 (Get Key Policy Statement) from the menu.

  2. The script will retrieve the specific JSON policy statement required by your tenant.

  3. Action: Copy this JSON block and add it to your AWS KMS Key Policy in the AWS Console. This authorizes Idira to use your key.

Step 4: Configure Key

  1. Select Option 3 (Configure BYOK).

  2. Paste your AWS KMS Key ARN when prompted.

  3. The toolkit will send the configuration to CyberArk. A success message confirms that Idira can successfully access your key.

Step 5: Enable Encryption

  1. Select Option 4 (Enable BYOK).

  2. The system will begin the re-encryption process.

    Note: This process triggers a system restart and may take up to 20 minutes. During this time, the portal will be unavailable. Do not modify the key or the service user during this window.

Step 6: Verification

  1. Wait approximately 20 minutes.

  2. Select Option 1 (Get BYOK Status).

  3. Verify that the status returns as BYOK ON (Enabled).

  4. Log in to the Privilege Cloud Portal to verify full functionality.


Ongoing Management

Rotating the Key

To switch to a new AWS KMS key (e.g., for compliance rotation):

  1. Create the new key in AWS and apply the policy (from Step 3).

  2. Run the toolkit and select Option 6 (Rotate Customer Key).

  3. Enter the New Key ARN and type ROTATE to confirm.

Note: If you are utilizing an annual automatic key rotation on AWS, Idira automatically supports the AWS key rotation solution, and no action is required to sync the new AMS KMS key in BYOK-supported services. 

Disabling BYOK (Reverting)

To revert to the default Idira System Key:

  1. Run the toolkit and select Option 5 (Disable BYOK).

  2. Type DISABLE to confirm. Note: This will decrypt all data using your key and re-encrypt it with the Idira system key

Important Considerations & Legal Notice

Customer Responsibility: When employing BYOK, the customer is solely responsible for safeguarding the encryption key.

In case Idira does not have access to your key (for example: in case of deletion, loss, disabling, or alteration of the key policy in AWS), you will not be able to access your encrypted data.

  • Idira does not store a copy of your encryption key.

  • Idira does not maintain any alternate means of accessing your encrypted data.

  • Idira will not be able to recover your encrypted secrets or recorded sessions if the key is lost.

The Bring Your Own Key service is subject to the "Bring Your Own Key" provision in CyberArk's SaaS Terms of Service.(https://www.cyberark.com/SaaS-Terms-of-Service.pdf)

 

 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000sIFCAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail