We have this TODO note in SwitchioConfig.client_certificate_data:
|
def client_certificate_data(self): |
|
"""This SwitchioConfig's client certificate as a string.""" |
|
if self.environment == Environment.DEV.value: |
|
# Special case to handle un-purgeable cert in Azure dev env Key Vault with the desired `switchio-client-cert` name |
|
# See: https://cal-itp.slack.com/archives/C037Y3UE71P/p1776806316220499 |
|
# Also affects local setup using standard fixtures with secrets |
|
# TODO: Remove this special case when the deleted cert is automatically purged on July 20, 2026 |
|
return get_secret_by_name("switchio-int-client-cert") |
|
|
|
return get_secret_by_name("switchio-client-cert") |
Today is August 7, 2026 and I can confirm the switchio-client-cert certificate has been purged from the dev Key Vault:
Hence, we can now clean up this code and normalize the cert secrets in the dev Key Vault to match what we do in the test and prod Key Vaults.
Acceptance Criteria
Additional context
We have this TODO note in
SwitchioConfig.client_certificate_data:benefits/benefits/enrollment_switchio/models.py
Lines 56 to 65 in e9bf8fc
Today is August 7, 2026 and I can confirm the
switchio-client-certcertificate has been purged from thedevKey Vault:Hence, we can now clean up this code and normalize the cert secrets in the
devKey Vault to match what we do in thetestandprodKey Vaults.Acceptance Criteria
switchio-int-client-certis renamed to the standardswitchio-client-certnaming conventionswitchio-int-client-certis removedAdditional context