Giter Club home page Giter Club logo

moj-terraform-aws-sso's Introduction

moj-terraform-aws-sso

repo standards badge

This Terraform module creates an Auth0 application and associated integrations to enable AWS SSO.

Usage

module "sso" {
  source                     = "github.com/ministryofjustice/moj-terraform-aws-sso"
  auth0_tenant_domain        = ""
  auth0_client_id            = ""
  auth0_client_secret        = ""
  auth0_debug                = false
  auth0_github_client_id     = ""
  auth0_github_client_secret = ""
  auth0_github_allowed_orgs  = ["example"]
  auth0_allowed_domains      = "@example.com"
  auth0_aws_sso_acs_url      = "https://${region}.signin.aws.amazon.com/platform/saml/acs/${random_key}"
  auth0_aws_sso_issuer_url   = "https://${region}.signin.aws.amazon.com/platform/saml/${random_key}"
  auth0_azure_entraid_client_id = ""
  auth0_azure_entraid_client_secret = ""
  auth0_azure_entraid_domain = "example.com"
}

Requirements

Name Version
terraform >= 1.0.0
auth0 >= 1.0.0
aws >= 5.0.0

Providers

Name Version
auth0 >= 1.0.0
aws >= 5.0.0

Modules

No modules.

Resources

Name Type
auth0_action.allow_github_organisations resource
auth0_action.saml_mappings resource
auth0_client.idp_token resource
auth0_client.saml resource
auth0_client_grant.idp_grant resource
auth0_connection.github_saml_connection resource
auth0_trigger_actions.flow resource
auth0_client.idp_token data source
aws_iam_account_alias.current data source

Inputs

Name Description Type Default Required
auth0_allowed_domains A list of authorised domains a user must have as part of their GitHub email addresses string n/a yes
auth0_aws_sso_acs_url AWS SSO: ACS URL string n/a yes
auth0_aws_sso_issuer_url AWS SSO: Issuer URL string n/a yes
auth0_client_id Auth0 client ID (from a Machine to Machine application) string n/a yes
auth0_client_secret Auth0 client secret (from a Machine to Machine application) string n/a yes
auth0_debug Auth0 debug flag bool false no
auth0_github_allowed_orgs A list of GitHub organisations a user has to be part of list(string) n/a yes
auth0_github_client_id Auth0: GitHub client ID string n/a yes
auth0_github_client_secret Auth0: GitHub client secret string n/a yes
auth0_tenant_domain Auth0 tenant domain string n/a yes
auth0_azure_entraid_client_id Client id for the azures application string n/a yes
auth0_azure_entraid_client_secret Client secret for the azures application string n/a yes
auth0_azure_entraid_domain Azures application domain name string n/a yes

Outputs

No outputs.

moj-terraform-aws-sso's People

Contributors

ben-al avatar connormaglynn avatar davidkelliott avatar dependabot[bot] avatar dms1981 avatar github-actions[bot] avatar jakemulley avatar jasonbirchall avatar markgov avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

moj-terraform-aws-sso's Issues

User access removed, access is now via a team

Hi there

This user had Direct Member access to this repository and access via a team.

Access is now only via a team.

If you have any questions, please post in #ask-operations-engineering on Slack.

This issue can be closed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.