Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Aug 24, 2022

Conversation

mastercactapus
Copy link
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
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