By using AWS re:Post, you agree to the Terms of Use
/Programmatically Detect which region AWS SSO is enabled in./

Programmatically Detect which region AWS SSO is enabled in.


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 : operation: "DescribeRegisteredRegions" path: "/control/"

Is there anyway we can achieve the same via APIs?

1 Answers

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.

answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions