IAM Identity Store get Region API


Is there a way to get the region where the IAM Identity store service (SSO) is located programatically ?

asked 2 months ago87 views
2 Answers

May I ask what are you trying to accomplish here? IAM Identity Center supports only one AWS Region at a time.

profile pictureAWS
answered 2 months ago
  • I am looking for a programmatic way to determine the AWS region where a specific instance of the IAM Identity center, also known as AWS SSO service is located.


Hello Ivaylo,

When you enable AWS IAM Identity Center, you enable it in a specific region and all the data that you configure in IAM Identity Center is stored there - see https://docs.aws.amazon.com/singlesignon/latest/userguide/regions.html#region-data for more information. Because of this, you programmatically make the call to that region to retrieve information about your instance. You will need to know the region before making your programmatic call.

answered 2 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