Яндекс.Метрика
Set up BYOK with Yandex KMS

Set up BYOK with Yandex KMS

  1. Open the Yandex KMS console

Yandex KMS console

  1. Go to Identity and Access Management and click Create service account

Creating a service account in IAM

  1. Give the service account a name and assign it the kms.keys.encrypterDecrypter role

Assigning the kms.keys.encrypterDecrypter role

  1. Open the service account you created for editing and click Create new key. Select Create authorized key with the RSA-2048 encryption algorithm

Creating an RSA-2048 authorized key

Key encryption algorithm settings

  1. Download the key file

Downloading the authorized key file

  1. Paste the contents of the downloaded file into Pachca. This is your JSON key for authorizing with the encryption system
{
  "id": "ajeobp8qi8slm13qe4fv",
  "service_account_id": "...",
  "created_at": "...",
  "key_algorithm": "RSA_2048",
  "public_key": "-----BEGIN PUBLIC KEY-----\nMIIB...",
  "private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBgkqhki..."
}
  1. In Key Management System, go to Symmetric keys and click Create key

Creating a symmetric key in KMS

  1. Select the AES-128 encryption algorithm and leave the rotation period empty

Selecting the AES-128 encryption algorithm

  1. In the key's access permissions, specify the service account with the kms.keys.encrypterDecrypter role

Setting access permissions for the encryption key

  1. Copy the ID of the key you created and enter it in Pachca in the KMS Key ID field

  2. Click Enable encryption

Advanced data encryption is now turned on in your Pachca workspace.

Updated: September 1, 2025

More in Administration

Accounts in Pachca
How Pachca is structured: the difference between an account, a user and a member profile
Inviting your team
How to invite your team to Pachca, the team chat app: two ways to add employees
Change your email in Pachca
How to change your email address in Pachca: a guide for employees and administrators
Errors when adding people by email
Common errors when adding users to Pachca by email and how to fix them
Managing members in Pachca
Managing members in Pachca: how to add, edit and remove people from your team
Group tags
Add employees to all the chats they need at once with group tags
Advanced administration via API
How to automate user administration in Pachca with the API: creating users, managing them and tags
Ports and addresses Pachca needs
Ports and addresses Pachca needs to work properly: setting up your corporate firewall
Storage in Pachca
Everything about file storage in Pachca: limits, managing storage space and working with documents
Setting up DLP in Pachca
Add an extra layer of protection for personal data, tokens and passwords
Internal/external file access
How to set up internal and external zones in Pachca to protect your company documents
Two-factor authentication (2FA)
How to turn on two-factor authentication in Pachca for extra account security
Import chats from Slack
How to import your chat history from Slack into Pachca: a step-by-step migration guide
Import chats from Mattermost
Pachca lets you move your chat history and files from Mattermost into your workspace.
Import chats from Telegram
If your team is moving to Pachca from Telegram, you can bring your chat history over to your team chat app.
Exporting messages from Pachca
How to export messages from Pachca: data format, settings and export limitations
SSO options in Pachca
Single sign-on (SSO) in Pachca: SAML, LDAP and Keycloak connection options and step-by-step guides
SSO in Pachca with LDAP
SSO in Pachca with Multifactor.ru
SSO in Pachca with Blitz Identity Provider
SSO in Pachca with Authentik
SSO in Pachca with Keycloak
SSO in Pachca with Azure OpenID
SSO in Pachca with ADFS OpenID
This guide explains how to configure ADFS on Windows Server 2016 or later to connect it to Pachca.
SSO in Pachca with Google Workspace SAML
SSO in Pachca with Indeed IdP over SAML
SSO in Pachca with Yandex 360
SSO in Pachca with Yandex Identity Hub
BYOK: Bring Your Own Key in Pachca
How encryption with your own key (BYOK) works in the Pachca team chat app
Advanced encryption in Pachca
How to set up advanced encryption in Pachca for extra protection of your company data
Set up BYOK with HashiCorp Vault
Set up BYOK with Cloud.ru KMS