{"id":21213982,"url":"https://github.com/cruxstack/terraform-aws-cognito-userpool-clients","last_synced_at":"2026-04-19T05:32:06.517Z","repository":{"id":234593646,"uuid":"675108975","full_name":"cruxstack/terraform-aws-cognito-userpool-clients","owner":"cruxstack","description":"Terraform Module to provision Cognito userpool clients","archived":false,"fork":false,"pushed_at":"2024-01-02T18:17:25.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T00:17:35.149Z","etag":null,"topics":["aws","cloudposse","cognito","cognito-idp","cognito-user-pool","oauth","oauth2","sweetops","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/cruxstack/cognito-userpool-clients/aws/latest","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cruxstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-08-05T20:06:04.000Z","updated_at":"2023-08-16T13:35:51.000Z","dependencies_parsed_at":"2024-04-20T15:45:35.121Z","dependency_job_id":null,"html_url":"https://github.com/cruxstack/terraform-aws-cognito-userpool-clients","commit_stats":null,"previous_names":["cruxstack/terraform-aws-cognito-userpool-clients"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/cruxstack/terraform-aws-cognito-userpool-clients","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cruxstack%2Fterraform-aws-cognito-userpool-clients","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cruxstack%2Fterraform-aws-cognito-userpool-clients/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cruxstack%2Fterraform-aws-cognito-userpool-clients/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cruxstack%2Fterraform-aws-cognito-userpool-clients/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cruxstack","download_url":"https://codeload.github.com/cruxstack/terraform-aws-cognito-userpool-clients/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cruxstack%2Fterraform-aws-cognito-userpool-clients/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261479217,"owners_count":23164651,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","cloudposse","cognito","cognito-idp","cognito-user-pool","oauth","oauth2","sweetops","terraform","terraform-module"],"created_at":"2024-11-20T21:25:19.249Z","updated_at":"2025-10-30T07:08:06.945Z","avatar_url":"https://github.com/cruxstack.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform Module: AWS Cognito Userpool Clients\n\nThis module creates and manages AWS Cognito User Pool Clients, allowing\nfine-grained control over client configurations, UI customization, and secrets\nmanagement.\n\n## Usage\n\n```hcl\nmodule \"cognito_userpool_clients\" {\n  source  = \"cruxstack/cognito-userpool-clients/aws\"\n  version = \"x.x.x\"\n\n  userpool_id = \"\u003ccognito-userpool-id\u003e\"\n\n  client_defaults = {\n    callback_urls = [\"https://example.com/auth/\"]\n  }\n\n  clients = {\n    internal_web_app = {\n      managed_login_branding = {\n        enabled                     = true\n        use_cognito_provided_values = true\n      }\n    }\n    public_web_app   = {}\n    mobile_app       = {}\n    foobar_service   = {}\n  }\n}\n```\n\n## Inputs\n\nThis module uses the `cloudposse/label/null` module for naming and tagging\nresources. As such, it also includes a `context.tf` file with additional\noptional variables you can set. Refer to the [`cloudposse/label` documentation](https://registry.terraform.io/modules/cloudposse/label/null/latest)\nfor more details on these variables.\n\n| Name               | Description                                                           | Type                 | Default | Required |\n|--------------------|-----------------------------------------------------------------------|----------------------|---------|----------|\n| `userpool_id`      | Cognito user pool ID.                                                 | `string`             | `null`  | No       |\n| `client_defaults`  | Default configurations for each client.                               | `object({...})`      | `{}`    | No       |\n| `clients`          | Map of client-specific configurations. The key is the client name.    | `map(object({...}))` | `{}`    | No       |\n| `secrets_enabled`  | Toggle to create SecretsManager secrets for each client.              | `bool`               | `true`  | No       |\n| `aws_kv_namespace` | The namespace or prefix for AWS SSM parameters and similar resources. | `string`             | `\"\"`    | No       |\n\n## Outputs\n\n| Name                  | Description                                                                                          |\n|-----------------------|------------------------------------------------------------------------------------------------------|\n| `clients`             | Map of Cognito user pool clients created by the module.                                              |\n| `client_secret_names` | Map of the names of Secrets Manager secrets for the Cognito user pool clients, keyed by client name. |\n\n\n## Contributing\n\nWe welcome contributions to this project. For information on setting up a\ndevelopment environment and how to make a contribution, see [CONTRIBUTING](./CONTRIBUTING.md)\ndocumentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcruxstack%2Fterraform-aws-cognito-userpool-clients","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcruxstack%2Fterraform-aws-cognito-userpool-clients","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcruxstack%2Fterraform-aws-cognito-userpool-clients/lists"}