HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ykman oath — Manage the OATH YubiKey application. A `keyword` can be a part of the name or the issuer. More infor

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandoathykman oathclimanageyubikeyapplication

Problem

How to use the ykman oath command: Manage the OATH YubiKey application. A keyword can be a part of the name or the issuer. More information: <https://docs.yubico.com/software/yubikey/tools/ykman/OATH_Commands.html>.

Solution

ykman oath — Manage the OATH YubiKey application. A keyword can be a part of the name or the issuer. More information: <https://docs.yubico.com/software/yubikey/tools/ykman/OATH_Commands.html>.

Display general information about the OATH application:
ykman oath info


Change the password used to protect OATH accounts (add --clear to remove it):
ykman oath access change


Add a new account (the issuer is optional):
ykman oath accounts add {{[-i|--issuer]}} {{issuer}} {{name}}


List all accounts (with their issuers):
ykman oath accounts list


List all accounts with their current TOTP/HOTP codes (optionally filtering the list with a keyword):
ykman oath accounts code {{keyword}}


Rename an account:
ykman oath accounts rename {{keyword}} {{issuer:name|name}}


Delete an account:
ykman oath accounts delete {{keyword}}


Delete all accounts and restore factory settings:
ykman oath reset

Code Snippets

Display general information about the OATH application

ykman oath info

Change the password used to protect OATH accounts (add `--clear` to remove it)

ykman oath access change

Add a new account (the issuer is optional)

ykman oath accounts add {{[-i|--issuer]}} {{issuer}} {{name}}

List all accounts (with their issuers)

ykman oath accounts list

List all accounts with their current TOTP/HOTP codes (optionally filtering the list with a keyword)

ykman oath accounts code {{keyword}}

Context

tldr-pages: common/ykman oath

Revisions (0)

No revisions yet.