Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved 2FA login with CLI

    Support
    cli 2fa
    4
    7
    187
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User last edited by girish

      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.

      girish 1 Reply Last reply Reply Quote 2
      • girish
        girish Staff @Guest last edited by

        @atridad API Token are for this. You can use cloudron list --token <token> --server my.domain.com, for example.

        ? 1 Reply Last reply Reply Quote 3
        • girish
          girish Staff @Guest last edited by

          @atridad API Token are for this. You can use cloudron list --token <token> --server my.domain.com, for example.

          ? 1 Reply Last reply Reply Quote 3
          • ?
            A Former User @girish last edited by A Former User

            @girish oh the help command didn’t mention a token as an option for the “cloudron login” command

            robi nebulon 2 Replies Last reply Reply Quote 0
            • robi
              robi @Guest last edited by

              @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

              Life of Advanced Technology

              1 Reply Last reply Reply Quote 0
              • nebulon
                nebulon Staff @Guest last edited by

                @atridad note that the --token option is for the other subcommands, not the actual login command.

                ? 1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @nebulon last edited by

                  @nebulon does the same apply to server url?

                  nebulon 1 Reply Last reply Reply Quote 0
                  • nebulon
                    nebulon Staff @Guest last edited by

                    @atridad yes it does. If you run cloudron --help you can see the "global" options on the top, which apply also to subcommands.

                    1 Reply Last reply Reply Quote 0
                    • Topic has been marked as a question  girish girish 
                    • Topic has been marked as solved  girish girish 
                    • First post
                      Last post
                    Powered by NodeBB