You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
mehmettokgoz
changed the title
Login flow of auth login s REPLICATE_TOKEN
Login flow of auth login using REPLICATE_API_TOKENMar 15, 2024
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.The text was updated successfully, but these errors were encountered: