Skip to content

tenax login

tenax login

Authenticate to the Tenax API and save the server

Synopsis

Saves the server URL and a token in ~/.config/tenax/config.json.

Interactive: with Tenax's own login, opens the console in your browser, where you log in and allow the CLI; it then gets a session for 12 hours. Behind Cloudflare Access, runs "cloudflared access login " and stores the application token. CI: a Kubernetes token in TENAX_TOKEN (Tenax's own login), or TENAX_ACCESS_CLIENT_ID and TENAX_ACCESS_CLIENT_SECRET (an Access service token); nothing is stored. Explicit: --token .

tenax login [flags]

Options

  -h, --help            help for login
      --no-browser      print the login address without opening a browser
      --server string   Tenax URL, for example https://tenax.example.com
      --token string    store this token instead of logging in

Options inherited from parent commands

      --lang string   language of this run's output, for example es or es_MX (over TENAX_LANG and the configured language)

SEE ALSO

  • tenax - Tenax: database backup and restore for Kubernetes