Use JumpCloud SAML Single Sign On (SSO) to give your users convenient but secure access to all their web applications with a single set of credentials. Read this article to learn how to configure the AWS GovCloud connector.
Read the SAML Configuration Notes KB before you start configuring the connector.
Prerequisites
- In order to successfully complete the integration between JumpCloud and Amazon AWS GovCloud (via IAM), you must have administrative rights to access configuration settings of the service provider.
- Your AWS Account number, find this by going to the main AWS console, go to All Services, under Security, Identity & Compliance select IAM. It will be embedded in the IAM users sign-in link: https://YOUR_AWS_ACCOUNT_NUMBER.signin.aws.amazon.com/console.
Important Considerations
- Amazon IAM accepts SSO based on roles. Enabling SSO for Amazon AWS (IAM) in this way will allow any user in your organization to access Amazon AWS GovCloud (IAM). Multiple Roles may be defined as detailed below.
- This connector supports additional Constant Attributes that are sent in the assertion. E.g., Amazon supports SessionDuration in order to allow up to 12 hour sessions before logout. By default, the connector template contains this additional attribute where the Name is https://aws.amazon.com/SAML/Attributes/SessionDuration and the Value in seconds must be between 15 minutes and 12 hours; e.g., for 15 minutes, enter a value of 900.
Creating a new JumpCloud Application Integration
- Log in to the JumpCloud Admin Portal.
- Go to USER AUTHENTICATION > SSO Applications.
- Click + Add New Application.
- Type the name of the application in the Search field and select it.
- Click Next.
- In the Display Label, type your name for the application. Optionally, you can enter a Description, adjust the User Portal Image and choose to hide or Show in User Portal.
- If this is a Bookmark application, enter its URL in the Bookmark URL field.
- Click Save Application.
- If successful, click:
- Configure Application and go to the next section.
- Close to configure your new connector at a later time.
Configuring the SSO Integration
To configure JumpCloud
- Create a new application or select it from the Configured Applications list.
- Select the SSO tab.
- Configure one or more Roles:
- Under Constant Attributes, in the second row containing NAME https://aws.amazon.com/SAML/Attributes/Role, update the Value by replacing YOUR_AWS_ACCOUNT_NUMBER with your actual AWS Account number. This is done twice in the field. You may want to copy/paste it from a text document. arn:aws-us-gov:iam::YOUR_AWS_ACCOUNT_NUMBER:role/ROLE_1,arn:aws-us-gov:iam::YOUR_AWS_ACCOUNT_NUMBER:saml-provider/JumpCloud
- Replace ROLE_1 with the role created using the steps under To configure AWS GovCloud.
- Create as many role attributes as desired by using the same NAME and a VALUE with a unique role
- In the field terminating the IdP URL, either leave the default value or enter a plaintext string unique to this connector.
- (Optional) In the Display Label field, enter a label that will appear beside the Amazon Web Services Govcloud IAM logo within the JumpCloud console to guide administrators and users to the connection you have configured.
- Click save.
To download the metadata file
- Find your application in the Configured Applications list and click anywhere in the row to reopen its configuration window.
- Select the SSO tab and click Export Metadata.
- The JumpCloud-<applicationname>-metadata.xml will be exported to your local Downloads folder.
Metadata can also be downloaded from the Configured Applications list. Search for and check the application in the list and then click Export Metadata in the top right corner of the window.
To configure AWS GovCloud (US)
- Log in to the Amazon Web Services GovCloud console for your organization as an administrator.
- In the main console, go to All Services, under Security, Identity & Compliance select IAM.
- On the lefthand sidenav, select on Identity Providers.
- Select Create Provider.
- In the Provider Type drop-down, select SAML.
- In the Provider Name field, enter JumpCloud. If another name is chosen, this string will need to replace JumpCloud in the role attribute value in the JumpCloud configuration.
- Select Choose File and upload the metadata file, by default, it will be saved as JumpCloud-awsgov-metadata.xml.
- Select Next Step.
- On the next screen, select Create.
- In the lefthand side-nav, select Roles.
- Select Create role.
- For Select type of trusted entity, select SAML
- For SAML Provider, select the provider created in the steps above.
- Select Allow programmatic and AWS Management Console access. Select Next: Permissions.
- Attach the desired permission policy for the role. Select Next: Review
- Define a Role Name. This string replaces ROLE_1 in the JumpCloud configuration
- Select Create role.
Authorizing User SSO Access
Users are implicitly denied access to applications. After you connect an application to JumpCloud, you need to authorize user access to that application. You can authorize user access from the Application Configuration panel or from the Groups Configuration panel.
To authorize user access from the Application Configuration panel
- Log in to the JumpCloud Admin Portal.
- Go to USER AUTHENTICATION > SSO Applications, then select the application to which you want to authorize user access.
- Select the User Groups tab. If you need to create a new group of users, see Get Started: Groups.
- Select the check box next to the group of users you want to give access.
- Click save.
To learn how to authorize user access from the Groups Configuration panel, see Authorize Users to an SSO Application.
Validating SSO authentication workflow(s)
IdP Initiated
- Access the JumpCloud User Console.
- Select the Service Provider icon.
- This should automatically launch and login to the application.
SP Initiated
- Navigate to your Service Provider application URL.
- You will be redirected to log in to the JumpCloud User Portal.
- The browser will be redirected back to the application and be automatically logged in.