Page MenuHomePhabricator

Rotate Mailgun secret
Closed, ResolvedPublic

Description

A/C: mailgun secret should be rotated

This needs to be performed on production and staging. Tom would recommend you do them separately, staging first, this will also give an idea of if there is downtime associated with this action.

Probable steps:

  • Login to mailgun UI
  • Copy new token
  • Paste into your tfvars file
  • run make apply
    • This will create new secrets in k8s. However! it will not restart the workloads that are still running using the old secrets
  • gracefully restart relevant workloads (api/mw works) (https://linuxhint.com/kubectl-rollout-restart/)
  • check all is working

Related Objects

StatusSubtypeAssignedTask
ResolvedTarrow
ResolvedNone

Event Timeline

Rotated SMTP password for staging and production
https://github.com/wmde/wbaas-deploy/pull/539
https://github.com/wmde/wbaas-deploy/pull/540

We noticed that there is some remnant of unused mailgun API keys in our config, will clean it up

I removed the Sending API keys for the domains wikibase.dev and wikibase.cloud via the Mailgun UI, as we are not using them anymore.

loos like the module is waiting for being released before we go ahead an use it in staging and prod