Product

Swap out your API keys with no downtime

Mailgun updated its API regeneration tool back in 2014 to help service their customers to a greater degree. Read more...

PUBLISHED ON

PUBLISHED ON

Posted on May 2, 2014.

Regularly changing your API keys is a good practice to maintain security for your application. Today, we’ve just rolled out a new feature that makes this easy and doesn’t require you to pause sending email long enough to swap out your API keys. Here’s how it works:

We’ve made some updates to our API key regeneration tool, but it still works like a charm. You can regenerate your API by going to up to your name and into security. Once there, click the rotating arrows button next to your private key and you’ll receive a new API key. Your old key will also continue to work for 48 hours before automatically expiring. This gives you 2 days to update your code with the new key.

Once you’ve swapped out your keys, you can immediately expire the old key by clicking on the link provided.

We hope this small addition makes it easier to maintain security for your application and your users.

Happy Sending!

Related readings

Security matters: Say hello to two-factor authentication (2FA)

It’s that kind of Monday: You show up to work, and you’ve been logged out of your Mailgun account. You input your password, and it prompts you to enter a verification code sent via...

Read more

Weekly product update: Improvements to email verification API

A few weeks ago, we launched a new API to validate email addresses submitted through web forms (API reference & demo)...

Read more

Continuing our commitment: HTTPS innovation and optimization

That drive hasn’t left us in over ten years, and it carries on in every new feature we...

Read more

Popular posts

Two men talking about email authentication

Build Laravel 10 email authentication with Mailgun and Digital Ocean

When it was first released, Laravel version 5.7 added a new capability to verify user’s emails. If you’ve ever run php artisan make:auth within a Laravel app you’ll know the...

Read more

Gods with gears in city street

Sending email using the Mailgun PHP API

It’s been a while since the Mailgun PHP SDK came around, and we’ve seen lots of changes: new functionalities, new integrations built on top, new API endpoints…yet the core of PHP...

Read more

God with mask on chair

Here’s everything you need to know about DNS blocklists

The word “blocklist” can almost seem like something out of a movie – a little dramatic, silly, and a little unreal. Unfortunately, in the real world, blocklists are definitely something you...

Read more

See what you can accomplish with the world's best email delivery platform. It's easy to get started.Let's get sending
CTA icon