-
Notifications
You must be signed in to change notification settings - Fork 4.5k
iam: SamlConsolePrincipal does not work in China #22091
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-iamRelated to AWS Identity and Access ManagementRelated to AWS Identity and Access ManagementbugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortp1
Description
Describe the bug
While creating the SAML federation principal as below, the SAML attribute is hardcoded with https://signin.aws.amazon.com/saml, which breaks in aws-cn partition since the SAML attribute should be changed to https://signin.amazonaws.cn/saml in AWS CN partition.
const principal = new iam.SamlConsolePrincipal(provider);
Expected Behavior
The construct SamlConsolePrincipal should allow to customize the SAML attribute for this case. This could be an option to change it.
Current Behavior
Currently it's hardcoded and can't be customized while using the construct.
Reproduction Steps
const principal = new iam.SamlConsolePrincipal(provider);
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.39.0
Framework Version
No response
Node.js Version
v16.16.0
OS
Mac
Language
Typescript
Language Version
No response
Other information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-iamRelated to AWS Identity and Access ManagementRelated to AWS Identity and Access ManagementbugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortp1