Programmatically Detect which region AWS SSO is enabled in.
0
Is there a way to programmatically detect which region AWS SSO is enabled in? I dont see anything in the APIs. However I see that AWS Console displays the region in which it is enabled by making a call to : https://us-east-1.console.aws.amazon.com/singlesignon/api/peregrine operation: "DescribeRegisteredRegions" path: "/control/"
Is there anyway we can achieve the same via APIs?
asked 3 months ago10 views
1 Answers
0
I don't see that this is available in existing APIs. The way I have solved similar situations in the past is to populate a Parameter Store parameter in each of my active regions that defines the SSO region. Another option is Secrets Manager and have it replicate the secret to your active regions. Now you can get the SSO region via an API call.
Relevant questions
[IAM] Programmatically list all users with console access enabled
Accepted Answerasked 4 months agoIs there a way by which we can allow https calls from only aws servers from across another region without VPC peering?
asked 4 months agoAWS SSO "User Portal" session timeout.
asked a month agoHow to Enable Region Programmatically
asked 19 days agoEnable AWS SSO programatically?
asked 2 months agoHow do I sign into re:Post using AWS SSO?
Accepted Answerasked 7 months agoProgrammatically Detect which region AWS SSO is enabled in.
asked 3 months agoAWS SSO - what OU/account to use?
asked 2 months agoAWS SSO and multiple regions
asked 4 months agoIs there any other way to use AWS multi region access point other than cross region replication?
asked 15 days ago