Title: Hide API Key when Defined
Last modified: November 18, 2024

---

# Hide API Key when Defined

 *  Resolved [Alexander Celeste](https://wordpress.org/support/users/alexclst/)
 * (@alexclst)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/hide-api-key-when-defined/)
 * When setting the Mailgun API key from a define statement in wp-config.php it 
   would be helpful if the API key was not even shown on the admin page, but rather
   was just dots. One reason to set the API key like this is to hide it from view
   on the admin so that folkks can’t change or see it, but you’ve only gone halfway.
   This is especially a good idea for agencies.

The topic ‘Hide API Key when Defined’ is closed to new replies.

 * ![](https://ps.w.org/mailgun/assets/icon-256x256.png?rev=2434524)
 * [Mailgun for WordPress](https://wordpress.org/plugins/mailgun/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailgun/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailgun/)
 * [Active Topics](https://wordpress.org/support/plugin/mailgun/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailgun/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailgun/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Alexander Celeste](https://wordpress.org/support/users/alexclst/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/hide-api-key-when-defined/)
 * Status: resolved