When configuring Gravity SMTP, keeping your API keys, Client IDs, and Secrets secure is essential to protect your email integration and sensitive data. By using constants in your site’s wp-config.php file, you can securely store this information outside the WordPress admin interface. This method ensures that your sensitive data remains hidden from users accessing the WordPress dashboard.
When a constant is set for a sensitive setting, it will be obfuscated in the UI.

Refer to these articles for available constants.