Skip to content
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

feat: Add command to write HTTP Cookies to file #99

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ahusseinali
Copy link

Description of changes:
SageMaker user cookies need to be used to authenticate user for AWS services (specifically for AWS Toolkit extension and Amazon Q extension) when the user has Q pro-tier enabled and is an SSO user.

In such case, we need the extension to be able to execute a command that writes such credentials to an aws specific file. This file is then used by the extension to load the credentials and auto-login Sagemaker users.

This change provides a new command that when executed reads the request cookie header and write them to file.

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

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.

1 participant