- There is the page Configuring a Relying Party and Adding Claims. It explains how to get AWS metadata https://signin.aws.amazon.com/static/saml-metadata.xml
- Go to you SimpleSAMLphp Federation tab
- Click on XML to simpleSAMLphp metadata converter link
- Copy content of https://signin.aws.amazon.com/static/saml-metadata.xml
- Paste it into Metadata parser window. Click Parse button.
- Copy Converted metadata content
- Paste into Noteapd
- Add Auth Procc Filter (mentioned at https://groups.google.com/forum/#!topic/simplesamlphp/AgHEy-5vHdA)
‘authproc’ => array(
10 => array(
‘class’ => ‘core:AttributeAdd’,
‘https://aws.amazon.com/SAML/Attributes/Role‘ => array(‘arn:aws:iam::<account_number_without_spaces>:role/<role_name>,arn:aws:iam::<account_number_without_spaces>:saml-provider/<’saml_provider_name)
),
20 => array(
‘class’ => ‘core:AttributeAdd’,
‘https://aws.amazon.com/SAML/Attributes/RoleSessionName‘ => array(‘uid’)
),
), - Open /var/simplesamlphp/metadata/saml20-sp-remote.php file
- Replace its content by content from Notepad
Reblogged this on Dinesh Ram Kali..