As a platform/DevOps engineer
I want the AWS Secret Manager to automatically fail over across regions
So that pipelines and workloads can continue operating during a regional outage without manual intervention.
We must meet internal resiliency requirements that services continue operating when a region is degraded or unavailable.
Today, a region outage (or inability to reach the region endpoint) can block secret retrieval, which can block deployments and runtime operations.
Core capability
When retrieving secrets, the AWS Secret Manager should:
1) Detect if the current region is unavailable (health/connection failures/timeouts).
2) Fail over automatically to a configured alternate region that is available.
3) Return the secret if the alternate region is healthy.
4) If no regions are available, fail fast with a clear error indicating both regions were attempted and why each failed.
Configuration
1) Support configuration of primary + secondary region (optionally N regions).
2) Support an explicit failover order (primary → secondary).