tmh, the TeachMeHIPAA CLI

tmh login

Store an API client’s credentials for a profile

Synopsis

Asks for an API client’s id and secret, checks them with TeachMeHIPAA and stores them for the profile: the secret in the OS keyring, or in a private config file where no keyring exists.

Without a terminal, pass –client-id and pipe the secret on stdin:

printf %s “$SECRET” tmh login –client-id cli_…
tmh login [flags]

Options

      --client-id string   the API client's id (cli_…); the secret is then read from stdin
  -h, --help               help for login

Options inherited from parent commands

      --idempotency-key string   Idempotency-Key for the write, instead of a generated one
      --live                     use the "live" profile
      --max-retries int          times to retry a transient failure of a request that is safe to replay (default 2)
      --profile string           profile to use: "sandbox" (default) or "live"
      --show-headers             print each HTTP response's status and headers to stderr
      --verbose                  print method, path, status, latency and request id of each HTTP attempt to stderr

SEE ALSO