Open ID Connect Provider - create the identity provider in a specific region

0

Hey,

I'm trying to create an Open ID Connect Provider in a specific region, I've noticed that this service is global.

I was wondering if there is a configuration in the AWS SDK to create the identity provider in a specific region, so it won't be global.

I'm currently using the AWS SDK GO V2, calling the function client.iamClient.CreateOpenIDConnectProvider to create the identity provider, is there any parameter I can pass to create it in a specific region?

Thanks, Ori

질문됨 2년 전337회 조회
1개 답변
1

Hello,

AWS offers a wide range of services that are either global, regional, or specific to the Availability Zone and cannot be accessible from elsewhere. The majority of AWS managed services are regional in nature (except for IAM, Route53, CloudFront, WAF etc).

For example, using IAM, you create your users in a single location rather than in different regions. In the same manner, IdP's (SAML/OIDC) in IAM are global resources, and hence there is currently no request parameter for the API call - CreateOpenIDConnectProvider [1] to specify any restriction for region.

Specifically, in regards to Federating users with public identity service providers or OpenID Connect [2], the recommendation is to use Amazon Cognito [3] for mobile and web-based application scenarios as it does most of the behind-the-scenes work with public identity provider services for you. It works with the same third-party services and also supports anonymous sign-ins.

Also, please note that Cognito is a regional service, and hence the SAML/OIDC provider configuration settings [4][5] have to be made in the specific region where the Cognito resource exists.

I hope the shared information is insightful to your query. In case if you have any questions or concerns then please feel free to reach out.

References:

[1] https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html

[2] https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_common-scenarios_federated-users.html

[3] https://aws.amazon.com/cognito/

[4] https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-oidc-idp.html

[5] https://docs.aws.amazon.com/cognito/latest/developerguide/open-id.html

profile pictureAWS
지원 엔지니어
Yash_C
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠