# Migrating from External to Managed Database

**URL:** <https://forum.ansible.com/t/migrating-from-external-to-managed-database/7553>\
**Category:** Get Help\
**Tags:** migration, awx, postgresql\
**Created:** [July 30, 2024, 12:20pm UTC](https://forum.ansible.com/t/migrating-from-external-to-managed-database/7553 "2024-07-30T12:20:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![grepusername](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/grepusername/32/4334_2.png) [@grepusername](https://forum.ansible.com/u/grepusername)\
**Post date:** [July 30, 2024, 12:20pm UTC](https://forum.ansible.com/t/migrating-from-external-to-managed-database/7553/1 "2024-07-30T12:20:53Z")

</div>

Two related questions, for an awx-operator cluster:

1. Is there any way to migrate a database from an external database to an internally/operator managed database and pod?
2. Is there a way to regenerate the secret key if it was leaked, one way or another?

Currently using awx-operator 2.19.1
