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

Login flow of auth login using REPLICATE_API_TOKEN #75

Open
mehmettokgoz opened this issue Mar 15, 2024 · 0 comments
Open

Login flow of auth login using REPLICATE_API_TOKEN #75

mehmettokgoz opened this issue Mar 15, 2024 · 0 comments

Comments

@mehmettokgoz
Copy link

AFAIK, there is no other method available aside from passing the token via stdin like following.

echo $REPLICATE_API_TOKEN | replicate auth login --token-stdin

I'm curious about why the token isn't an argument of the login command. Are there any other factors besides security considerations like exposing it in logs?

Alternatively, CLI could access $REPLICATE_API_TOKEN environment variable and extract the token automatically without requiring any explicit argument. This approach provides a more secure and seamless authentication process for users.

@mehmettokgoz mehmettokgoz changed the title Login flow of auth login s REPLICATE_TOKEN Login flow of auth login using REPLICATE_API_TOKEN Mar 15, 2024
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

No branches or pull requests

1 participant