8000 twilio: add alternate auth token for use during key rotation by mastercactapus · Pull Request #2588 · target/goalert · GitHub
[go: up one dir, main page]

Skip to content

twilio: add alternate auth token for use during key rotation - #2588

Merged
mastercactapus merged 4 commits into
masterfrom
twilio-alt-auth
Aug 24, 2022
Merged

mastercactapus merged 4 commits into
masterfrom
twilio-alt-auth

Conversation

@mastercactapus
Copy link
Copy Markdown
Member

Description:
This PR adds the AlternateAuthToken field to the config allowing for key rotation without request failures.

To validate/perform a key rotation:

  1. Verify calls and/or bi-directional SMS works
  2. Generate secondary token in Twilio
  3. Set the Auth Token to the new secondary, and the Alternate Auth Token to the current primary
  4. Verify calls and/or bi-directional SMS works
  5. Promote secondary to primary in Twilio
  6. Verify calls and/or bi-directional SMS works
  7. Clear Alternate Auth Token
  8. Verify calls and/or bi-directional SMS works

frizzkitten
frizzkitten previously approved these changes Aug 24, 2022
Comment thread notification/twilio/validation.go Resolved
tony-tvu
tony-tvu previously approved these changes Aug 24, 2022
@mastercactapus
mastercactapus merged commit ecfb8ed into master Aug 24, 2022
@mastercactapus
mastercactapus deleted the twilio-alt-auth branch August 24, 2022 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

0