# How to configure vault server to encrypt data on percona for mysql

**URL:** https://forums.percona.com/t/how-to-configure-vault-server-to-encrypt-data-on-percona-for-mysql/7025
**Category:** Percona Server for MySQL 5.7
**Created:** [May 21, 2019, 6:08am UTC](https://forums.percona.com/t/how-to-configure-vault-server-to-encrypt-data-on-percona-for-mysql/7025 "2019-05-21T06:08:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Tecnual](https://avatars.discourse-cdn.com/v4/letter/t/6bbea6/32.png) [@Tecnual](https://forums.percona.com/u/Tecnual)
#### Post date: [May 21, 2019, 6:08am UTC](https://forums.percona.com/t/how-to-configure-vault-server-to-encrypt-data-on-percona-for-mysql/7025/1 "2019-05-21T06:08:47Z")

</div>

I am trying to configure a Percona server for mysql to encrypt the data using keyring \_vault\_plugin.  
I followed the instructions of this link:

[URL=“[https://www.percona.com/doc/percona-server/LATEST/management/data\_at\_rest\_encryption.html](https://www.percona.com/doc/percona-server/LATEST/management/data_at_rest_encryption.html)”][https://www.percona.com/doc/percona-...ncryption.html[/URL]](https://www.percona.com/doc/percona-...ncryption.html%5B/URL%5D)

but when creating a table:

CREATE TABLE t1 (c1 INT, PRIMARY KEY pk (c1)) ENCRYPTION = ‘KEYRING’ ENCRYPTION\_KEY\_ID = 1;

I get the following error:  
“Seems that keyring is down. It is not possible to create encrypted tables without keyring. Please install a keyring and try again.”

How can I configure the keyring in the vault server in order to encrypt the data in percona
