Skip to content

kindgi auth

Manage local auth: the API's URL and token, and the runtime image's registry.

Persist an API URL + token to ~/.kindgi/config.json.

Terminal window
kindgi auth login [--url=<url>] [--token=<token>]

Verify the configured token by hitting the API.

Terminal window
kindgi auth whoami

Log Docker in to the runtime image's registry, then check it can pull the image kindgi dev runs.

Terminal window
kindgi auth registry [--username <name>] [--password-stdin] [--check] [--registry <host>]

Flags:

  • --check: Only check that Docker can pull the image, without logging in.
  • --password-stdin: Read the token from stdin instead of prompting for it.
  • --registry <value>: The registry to log in to, such as a mirror; the check then looks for the image there. Default: the runtime image's registry (quay.io).
  • --username <value>: The robot name you were given with your pull token. Needed to log in.

Every command also takes the global flags.