# MySQL Data at Rest Encryption

**URL:** <https://forums.percona.com/t/mysql-data-at-rest-encryption/12694>\
**Category:** Percona Distribution for MySQL\
**Tags:** closed-no-reply\
**Created:** [October 23, 2021, 1:12pm UTC](https://forums.percona.com/t/mysql-data-at-rest-encryption/12694 "2021-10-23T13:12:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![asrajan55](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@asrajan55](https://forums.percona.com/u/asrajan55)\
**Post date:** [October 23, 2021, 1:12pm UTC](https://forums.percona.com/t/mysql-data-at-rest-encryption/12694/1 "2021-10-23T13:12:28Z")

</div>

Hello  
I am trying to use MySQL Data at Rest encryption (table space) with keyring.  
I have been successful in encrypting a table and creating the keyring file in the default location.  
Right now I see that the keyring file location is hard coded in my.ini file  
However for best practices I should not store the keying file in the same server (correct?).  
If my application runs on a different server, how do I ‘pass’ the keyring file to the mysql server instance (running on a different server) before I start using the database features? I do not see any documentation on how to do this.  
Thanks
