CrushMFT Documentation

SAMLSSO with Amazon#

This connects the server to AWS IAM Identity Center, the sign-in portal of AWS, as a custom SAML 2.0 application, with SAMLSSO. People open the AWS access portal, click the server's tile, and are signed in.

Note

With IAM Identity Center a sign-in can only start at the portal. The server's way-in address, ?u=SSO_SAML&p=redirect, does not work with it, and a button on the login page would lead nowhere. Give people the link to the portal.

In the examples the server is https://files.example.com/.

1. A custom application in IAM Identity Center#

In the IAM Identity Center console: Applications › Add application › I have an application I want to set up › SAML 2.0.

Field Give
Display name what people see on the tile
Application ACS URL https://files.example.com/?u=SSO_SAML&p=none
Application SAML audience https://files.example.com/

Before you leave the page, download the IAM Identity Center SAML metadata file. Submit.

2. Attribute mappings#

In the application: Actions › Edit attribute mappings.

User attribute in the application Maps to Format
Subject ${user:subject}, or ${user:email} for the email address unspecified, or emailAddress

The subject becomes the user name on the server.

3. Assign people#

Assign users and groups. Only assigned people see the tile. An application without assignments lets nobody in.

4. Set the plugin#

From the metadata file of step 1:

In the metadata It goes into
the entityID at the top SAML Provider URL (EntityID)
the Location of the SingleSignOnService with the HTTP-POST binding IDP Redirect URL (HTTP-POST)
the X509Certificate block Base64 encoded PEM Signing certificate

And:

Setting Value
SAML Audience https://files.example.com/: the audience of step 1
SAML Issuer the issuer URL that IAM Identity Center shows for the application
This CrushMFT server's URL https://files.example.com/
Authentication type urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport
Show login with SAML on the login page off
what users get the role -ALL_ROLES- with SAMLSSO Cache Time -1, so that everybody AWS assigned is let in; or SAMLSSO only used for Authentication with users in the User Manager. See what the user gets.

5. Try it#

Sign in to the AWS access portal as an assigned user and click the tile.

Things to know#

  • A server behind a proxy must be allowed to reach AWS's sign-in addresses: signin.aws.amazon.com, sts.amazonaws.com, iam.amazonaws.com.
  • Groups. IAM Identity Center can send an attribute you define, but not the list of a person's groups as other providers do. Sort people by assigning separate applications to separate groups in AWS, each with its own configuration and sub name on the server; or sort them in the User Manager.
  • The certificate of IAM Identity Center is renewed in its console, under the application's settings. Put the new one into the plugin at the same time.
  • Amazon Cognito is a different service, and speaks OpenID Connect: CrushOIDC with Amazon Cognito.

Not tried for this page#

Nothing was run against IAM Identity Center. The steps on the provider's side follow the earlier documentation and the provider's console as it is known; names of menus change over time. The plugin's side is from its screen and from what the plugin's file says it checks. Try the first setup with one test user and Debug on.