Configure Okta as the AWS account identity provider

In order to use SAMLAn acronym for Security Assertion Markup Language, SAML is an XML-based standard for exchanging authentication and authorization data between an identity provider (IdP) and a service provider (SP). The SAML standard addresses issues unique to the single sign-on (SSO) solution, and defines three roles: the end user, the IdP, and the SP. Here's how SAML works through Okta: SP-initiated flow: the end user requests (principally through a browser) a service from the SP. The SP requests and obtains an identity assertion from the IdP (in this case, Okta). On the basis of this assertion, the SP can decide whether or not to authorize or authenticate the service for the end user. IdP-initiated flow: with Okta as the IdP, an end user goes to the Okta browser and clicks on an app, sending a SAMLResponse to the configured SP. A session is established with the SP, and the end user is authenticated. for AWS, you have to set up Okta as an identity provider in AWS and establish the SAML connection.

  1. Add the AWS appAn abbreviation of application. Essentially, it is a web-based site used to perform any number of specific tasks, and requires authentication from end users by signing in. to Okta if it has not been added previously:
    1. On the OktaAdminAn abbreviation of administrator. This is the individual(s) who have access to the Okta Administrator Dashboard. They control the provisioning and deprovisioning of end users, the assigning of apps, the resetting of passwords, and the overall end user experience. Only administrators have the Administration button on the upper right side of the My Applications page. Console, click Applications.
    2. Click Add Application.
    3. In the Search for an application field, enter AWS.
    4. Select Add for the AWS Account Federation
    5. In the General Settings page, accept or edit the default values and click Next.
    6. In the Sign On Methods section of the Sign-On Options pane, select SAML 2.0
    7. Click Done.
  1. Download the identity provider metadata file:
    1. On the OktaAdmin Console, click Applications.
    2. Enter AWS in the Search field.
    3. Click the AWS application you added in step 1 and click the Sign On tab.
    4. Click Edit in the Settings section and select SAML 2.0.
    5. Right-click the Identity Provider metadata link below the View Setup Instructions button and select Save Link As.
    6. Browse to a location to save the file, enter a file name, and click Save.
  2. Sign-in to the AWS Management Console and select Services on the top ribbon.
  3. Go to Security, Identity, & Compliance > IAM.

  4. In the left-navigation menu, click Identity providers.

  5. Click Create Provider in the right pane.

  6. On the Configure Provider page, complete these fields:

    • Provider Type: Select SAML from the drop-down menu.
    • Provider Name: Enter a provider name. For example: Okta.
    • Metadata Document: Click download and then select the metadata file you created in step 1.

  7. Click Next Step.
  8. Click Create.
  9. In the search field, enter the provider name from step 6 and select it.

  10. Copy the Provider ARN value. You'll need this to complete the configuration.

Next steps