Solved 2FA login with CLI
-
Hi! I would like a method to sign in to the CLI without 2FA. Use case is in CI/CD I would like to log in to be able to run the update command.
-
@atridad API Token are for this. You can use
cloudron list --token <token> --server my.domain.com
, for example. -
@atridad API Token are for this. You can use
cloudron list --token <token> --server my.domain.com
, for example. -
@girish oh the help command didn’t mention a token as an option for the “cloudron login” command
-
@atridad said in 2FA login with CLI:
@girish oh the help command didn’t mention a token as an option for the “cloudron login” command
good time to rev up the CLI --help
-
@atridad note that the
--token
option is for the other subcommands, not the actual login command. -
@nebulon does the same apply to server url?
-
@atridad yes it does. If you run
cloudron --help
you can see the "global" options on the top, which apply also to subcommands. -
girish
-
girish