Skip to content

Conversation

sirknightj
Copy link
Contributor

Issue #, if available:

Description of changes:

  • Added a way for developers to skip the Cognito provisioning step when using the app. This reduces the onboarding time by a significant amount and makes it easier to switch AWS accounts during app testing.
  • Added warnings in the logs for when this method is used
  • Added instructions in the README for how to set it up
  • I renamed AWSCredentials variable to awsCreds due to a namespace conflict.

Testing
Verified with the JS viewer the following credential methods, and they all successfully establish the RTCPeerConnection.

  • Cognito (recommended path)
  • AccessKey+SecreteKey
  • AccessKey+SecretKey+SessionToken

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@sirknightj sirknightj changed the title Add bypass for cognito credentials Support for alternate credentials option Sep 18, 2025
unicornss
unicornss previously approved these changes Sep 19, 2025
@unicornss unicornss dismissed their stale review September 19, 2025 19:10

details on the usage of iam creds

@sirknightj sirknightj merged commit ecbe37b into master Sep 20, 2025
13 checks passed
@sirknightj sirknightj deleted the override-cognito-for-poc branch September 20, 2025 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants