kyvernon auth
Own session: browser-login settings, API tokens, TOTP, password
kyvernon auth <COMMAND>Subcommands: config, session, password, totp, api-tokens
The auth command of the kyvernon CLI with its subcommands and arguments.
kyvernon authOwn session: browser-login settings, API tokens, TOTP, password
kyvernon auth <COMMAND>Subcommands: config, session, password, totp, api-tokens
kyvernon auth configBrowser login settings (OIDC availability)
kyvernon auth configAPI operation: GET /v1/auth/config
kyvernon auth sessionThe current session with its restrictions
kyvernon auth sessionAPI operation: GET /v1/auth/session
kyvernon auth passwordChange the own password (current and new from KYVERNON_PASSWORD / stdin: two lines)
kyvernon auth passwordAPI operation: POST /v1/auth/password
kyvernon auth totpTOTP enrolment and recovery codes
kyvernon auth totp <COMMAND>Subcommands: enrol, confirm, recovery-codes
kyvernon auth totp enrolStart enrolment: prints the secret and otpauth URL
kyvernon auth totp enrolAPI operation: POST /v1/auth/totp/enrol
kyvernon auth totp confirmConfirm enrolment with a code; prints the recovery codes once
kyvernon auth totp confirm <CODE>| Argument | Description | Required |
|---|---|---|
<CODE> | Six-digit code | yes |
API operation: POST /v1/auth/totp/confirm
kyvernon auth totp recovery-codesNew recovery codes (the old ones stop working)
kyvernon auth totp recovery-codes <CODE>| Argument | Description | Required |
|---|---|---|
<CODE> | Six-digit code | yes |
API operation: POST /v1/auth/totp/recovery-codes
kyvernon auth api-tokensOwn API tokens
kyvernon auth api-tokens <COMMAND>kyvernon auth api-tokens listList tokens
kyvernon auth api-tokens listAPI operation: GET /v1/auth/api-tokens
kyvernon auth api-tokens createCreate a token; the secret is printed once
kyvernon auth api-tokens create [OPTIONS] <NAME>| Argument | Description | Required |
|---|---|---|
<NAME> | Token name | yes |
--ttl | Lifetime in seconds, up to the controller maximum (365 days unless configured); default: that maximum. Every token expires |
API operation: POST /v1/auth/api-tokens
kyvernon auth api-tokens deleteDelete a token
kyvernon auth api-tokens delete <ID>| Argument | Description | Required |
|---|---|---|
<ID> | Token id | yes |
API operation: DELETE /v1/auth/api-tokens/{id}
Version 0.1.