IAM Identity Store get Region API


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

已提问 3 个月前119 查看次数
2 回答

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

profile pictureAWS
已回答 3 个月前
  • 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.

已回答 3 个月前

您未登录。 登录 发布回答。