CLIReference
Sign in
Signs in as a client application and saves it as a profile.
ovok login [options]Pipe the client secret in with --client-secret-stdin, so it stays out of your shell history. In CI, set OVOK_BASE_URL, OVOK_CLIENT_ID and OVOK_CLIENT_SECRET instead of signing in.
Options
| Option | Type | Default | Description |
|---|---|---|---|
--client-id <id> | string | The client application's ID; OVOK_CLIENT_ID when left out | |
--client-secret-stdin | boolean | Reads the client secret from stdin; OVOK_CLIENT_SECRET when left out | |
--base-url <url> | string | https://api.sandbox.ovok.com | The Ovok API to sign in to |
--profile <name> | string | default | The name to save the profile as |
Examples
printf %s "$OVOK_CLIENT_SECRET" | ovok login --client-id <id> --client-secret-stdinLast updated on