Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

feat: create cognito userpool client that exports both client ID and …#214

Open
alxyok wants to merge 2 commits into
awslabs:mainfrom
alxyok:feat/add-userpool-client-export-client-secret
Open

feat: create cognito userpool client that exports both client ID and …#214
alxyok wants to merge 2 commits into
awslabs:mainfrom
alxyok:feat/add-userpool-client-export-client-secret

Conversation

@alxyok

@alxyok alxyok commented Oct 9, 2024

Copy link
Copy Markdown

…client secret to a kubernetes secret (connection details)

What does this PR do?

Introduces a new Crossplane Composition and an XRD for managing AWS Cognito User Pool Clients. The composition enables automated provisioning of UserPoolClient resources based on user-specified inputs and writes connection secrets for the client, including and especially both the client ID and client secret.

Motivation

The current version of the UserPoolClient in the cognito-idp family of providers by AWS only exports client ID as a connection detail. It does not support client secret, which makes it useless if you want to reuse both of those details in other kubernetes resources such as exporting those in two SSM parameters or a secret in Secrets Manager.

More

  • Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)

  • Yes, I have added a new example under examples to support my PR

  • Yes, I have updated the docs for this feature

  • Yes, I have linked to an issue or feature request (applicable to PRs that solves a bug or a feature request)

Note:

  • Not all the PRs require examples and docs
  • We prefer small, well tested pull requests. Please ensure your pull requests are self-contained, and commits are squashed

For Moderators

  • E2E Test successfully complete before merge?

Additional Notes

cognito-composite-working-example

@alxyok alxyok marked this pull request as ready for review October 21, 2024 18:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant