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?

gefragt vor 2 Jahren566 Aufrufe
1 Antwort
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.

profile pictureAWS
EXPERTE
kentrad
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen