An organization is establishing federated identity access across its multi-account AWS environment using an on-premises PingFederate Identity Provider (IdP). The Solutions Architect needs to set up a configuration that allows external partners to authenticate via the IdP and assume a specific role called PartnerDeveloperRole in target AWS accounts. The configuration must support a maximum session duration of 12 hours for the federated sessions.
Which of the following actions must the Solutions Architect perform to successfully configure this federation? (Select TWO.)
- Create an Identity Provider (IdP) of type SAML in each target AWS account using the metadata document from PingFederate, and configure the PartnerDeveloperRole trust policy to allow the sts:AssumeRoleWithSAML action.Cevap
- Set the Maximum Session Duration setting of the PartnerDeveloperRole in each target AWS account to 12 hours, and ensure the PingFederate IdP sends the https://aws.amazon.com/SAML/Attributes/SessionDuration attribute in the SAML assertion.Cevap
- CConfigure the PartnerDeveloperRole trust policy in each target account to allow the sts:AssumeRole action for the PingFederate SAML provider ARN as the principal.
- DAttach a Service Control Policy (SCP) at the root level of AWS Organizations that allows sts:AssumeRoleWithSAML and automatically provisions the PartnerDeveloperRole in all target AWS accounts.
Cevap
To establish SAML-based federation, you must create a SAML Identity Provider in each target account, allow the sts:AssumeRoleWithSAML action in the role's trust policy, configure the role's Maximum Session Duration to 12 hours, and pass the SessionDuration attribute in the SAML assertion from PingFederate.
To successfully set up SAML federation, a SAML identity provider must exist in each AWS target account, and the target role's trust policy must allow the sts:AssumeRoleWithSAML action. To override the default 1-hour session duration limit up to 12 hours, both the Maximum Session Duration parameter on the IAM role must be updated, and the SessionDuration attribute must be supplied within the SAML assertion from PingFederate.
Adım Adım Çözüm
Anahtar Kavram
Establishing multi-account SAML federation and session management