Mail Proxy — API key lifecycle

Mail Proxy — API key lifecycle A lifecycle diagram generated by Archify. 01 / Key states 02 / Temporary 03 / Unusable Created · mpkey create · Key states · audit 01 Created mpkey create audit Delivered · email / file · Key states · mail: key 02 Delivered email / file mail: key Active · API returns 200 · Key states · in use 03 Active API returns 200 in use Disabled · 401 disabled · Key states · mail: notice 04 Disabled 401 disabled mail: notice Deleted · 401 invalid · Key states · mail: notice 05 Deleted 401 invalid mail: notice Rate-limited · 429 this minute · Temporary · auto Rate-limited 429 this minute auto Expired · 401 expired · Unusable · no mail Expired 401 expired no mail Legend start active state waiting terminal success failure / exit

Owner notified

  • • create (with key), disable, enable, delete
  • • Only keys created with --mail

Not notified

  • • Expiry and rate limiting
  • • Keys without an owner email

Re-enable

  • • disable -> enable returns to Active
  • • delete is permanent: issue a new key