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

Move cloud auth to sdk #779

Merged
merged 2 commits into from
Jan 15, 2024
Merged

Move cloud auth to sdk #779

merged 2 commits into from
Jan 15, 2024

Conversation

PhilippeMoussalli
Copy link
Contributor

The arguments that enabled authenticating to different clouds through volume mounting credentials were restricted to the CLI and were not explicitly available in the SDK.

This PR that moves the argument for authenticating to one of the clouds in the DockerRunner for the CLI to the SDK

e.g

authenticating to gcp

runner.run(auth_gcp=True)

Copy link
Contributor

@mrchtr mrchtr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -218,6 +202,9 @@ def start_explore(args):
tag=args.tag,
port=args.port,
extra_volumes=extra_volumes,
auth_gcp=args.auth_gcp,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about combining these arguments into a single one, for instance auth_provider=AZURE,AWS,GCP? Might be easier to update the different auth options without changing the interface.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good suggestion! Implemented

@PhilippeMoussalli PhilippeMoussalli merged commit 0c92737 into main Jan 15, 2024
8 of 9 checks passed
@PhilippeMoussalli PhilippeMoussalli deleted the move-cloud-auth-to-sdk branch January 15, 2024 10:10
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