Skip to content

Fix bug: AWS_SESSION_TOKEN never passed #173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

antoninodimaggio
Copy link
Contributor

AWS_SESSION_TOKEN is required for temporary AWS credentials. If AWS_SESSION_TOKEN is not passed it leads to invalid token when calling: https://github.com/fission/keda-connectors/blob/main/aws-sqs-http-connector/main.go#L71

os.Getenv("AWS_SESSION_TOKEN") returns an empty string if the env variable is no present retaining original functionality for AWS credentials workflows that do not require a session token.

@sanketsudake
Copy link
Member

@antoninodimaggio
Copy link
Contributor Author

@sanketsudake sanketsudake merged commit 62b5f63 into fission:main Jan 15, 2025
11 checks passed
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.

2 participants