KMS Integration
Customers can bring their own encryption keys to Portkey AI to encrypt data at storage.
This document outlines how customers can bring their own encryption keys to Portkey AI to encrypt data at storage.
Overview
Portkey AI supports integration with Key Management Services (KMS) to encrypt data at storage. This integration allows customers to manage their encryption keys and data protection policies through their existing KMS infrastructure.
Supported KMS Providers
Portkey AI supports integration with the following KMS providers:
- AWS KMS
Encryption Methodology
Envelope encryption is used to encrypt data at storage. The data is encrypted with a key that is stored in the KMS provider.
Encrypted Fields
- Configs
- Full template
- Virtual Keys
- Auth Key
- Auth Configuration
- Prompts
- Full Template
- Prompt Partials
- Full Template
- Guardrails
- Checks
- Actions
- Integrations/Plugins
- Auth Credentials/Keys
- SSO/OAuth
- Client Secret
- Auth Settings
Integration Steps:
Integrating with a KMS provider requires the following steps:
- Create a KMS key in your KMS provider.
- Update the key policy to allow Portkey AI to access the key.
- Share the ARN of the key with the Portkey AI team.
For AWS KMS, the Portkey Account ARN is:
The above ARN only works when control plane is hosted on hosted app.
To enable KMS for AWS in your Portkey Enterprise self hosted control plane deployment. Please reach out to your Portkey representative or contact us on [email protected].
AWS KMS Key Creation Guide
- Go to Key Management Service (KMS) in the AWS console and navigate to Customer Managed Keys.
- Click on Create Key.
- Select:
- Key Type: Symmetric
- Key Usage: Encrypt and Decrypt
- Name the key according to your criteria.
- Define key administrative permissions according to your criteria.
- Define key usage permissions according to your criteria.
- Once created, update the Key Policy with the following policy:
- Update the Key Arn in Portkey AI Admin Settings.
Was this page helpful?