Can there only ever be one identity source in IAM identity center at a time?

0

is there only ever one identity source in identity center? The API appears to return an array of instances, but i can't see how you can have more than one at a time.

https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_ListInstances.html

profile picture
已提问 10 个月前327 查看次数
1 回答
4

You can only have one identity source per organization in an AWS Organization. Refer Manage your identity source documentation and FAQ question Can I connect more than one identity source to IAM Identity Center.

On your second question, why ListInstances returns array of instances, I'd suggest you to look at FAQ question How do I start using IAM Identity Center, point #2 says following:

 You can also change directory to connect to a Microsoft AD directory by clicking through a list of Managed Microsoft AD and AD Connector instances that IAM Identity Center discovers in your account automatically. 

There can be multiple AD Connector instances that IAM Identity Center discovers in your account automatically and caller who has access to this IAM Identity Center, may get list of all those instances.

Hope it helps.

Abhishek

profile pictureAWS
专家
已回答 10 个月前
profile picture
专家
已审核 10 个月前
  • Maybe using the ListInstnaces API is not what I want to use.. What i want to find is the IdentityStoreId.. Will this be the same for all instsances perhaps?

    I could'nt find a better API to call. I really need to do this programatically..

  • Yes, that's right, identity store id would be same as there would be one identity store only. Unfortunately there is no API or CLI command available to fetch the identity store id programmatically. Hope that answers your question. Completely optional, if this answers your question, you can approve the answer.

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

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则