microsoft / dev-tunnels

Dev Tunnels SDK
MIT License
286 stars 20 forks source link

Non-Interactive Login #467

Closed yassersouri closed 1 month ago

yassersouri commented 1 month ago

Is there a way to login non-interactively?

Let's say I want to create a script the hosts an endpoint automatically and I don't want to do the login manually?

derekbekoe commented 1 month ago

It's possible to log in non-interactively. You can run devtunnel user login -h to see all the available options. In addition, this video covers the topic - https://www.youtube.com/watch?v=yCYLurylgj8.

derekbekoe commented 1 month ago

Closing as there are non-interactive ways to log in.