Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

DEPRECATED. Federated AWS RP is an AWS API Gateway and Lambda OpenID Connect (OIDC) Relying Party (RP) to allow users to log into the AWS Management Console with their federated identity using Single Sign On. This is no longer used by Mozilla SSO/IAM as of September 15th, 2023.

License

Notifications You must be signed in to change notification settings

mozilla-iam/federated-aws-rp

Repository files navigation

Federated AWS RP

Federated AWS RP is an AWS API Gateway and Lambda OpenID Connect (OIDC) Relying Party (RP) to allow users to log into the AWS Management Console with their federated identity using Single Sign On. This does not use AWS SSO which only works with Active Directory or SAML identity providers, and instead uses AWS identity providers with OIDC.

Federated AWS RP is the sister project to Mozilla AWS CLI. Federated AWS RP enables login to the AWS Management Console, where Mozilla AWS CLI enables command line and API access to AWS.

The Federated AWS RP is a serverless service hosted via AWS API Gateway backed by AWS Lambda. The backend API is designed to interact with the frontend in the exact same way as the backend for the Mozilla AWS CLI so that both tools use the same frontend code and have the same UI.

The Federated AWS RP website

  • authenticates the user using SSO
  • using the ID token received during SSO, fetches a list of AWS IAM Roles the user can assume
  • presents an IAM Role picker to the user
  • authenticates to AWS using the ID Token, assuming the selected IAM Role
  • redirects the user to the AWS Management Console, now authenticated as the selected IAM Role

The Federated AWS RP depends on

More information can be found in the Mozilla AWS CLI README.

At Mozilla this service is hosted at https://aws.sso.mozilla.com/ . More internal Mozilla information can be found in our internal documentation.

Deploying

Run make deploy-aws-federated-rp to package up the functions and the CloudFormation template and deploy the stack into AWS using CloudFormation

Mozilla's Deployment

The dev instance of the Federated AWS RP is deployed in the infosec-dev AWS account in us-east-1 in the FederatedAWSRP CloudFormation stack and can be accessed at https://aws.security.allizom.org/ . This dev instance talks to the production Auth0 identity provider

The prod instance is deployed in the mozilla-iam AWS account in us-east-1 in the FederatedAWSRP CloudFormation stack and can be accessed at https://aws.sso.mozilla.com/

About

DEPRECATED. Federated AWS RP is an AWS API Gateway and Lambda OpenID Connect (OIDC) Relying Party (RP) to allow users to log into the AWS Management Console with their federated identity using Single Sign On. This is no longer used by Mozilla SSO/IAM as of September 15th, 2023.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks