Difference between revisions of "Enhance programmatic access for IAM users using a YubiKey for multi-factor authentication"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
* <code>[[ykman oath add -t]] arn:aws:iam::<ACCOUNT_ID>:mfa/<IAM_USERNAME> <MFA_SECRET></code> | * <code>[[ykman oath add -t]] arn:aws:iam::<ACCOUNT_ID>:mfa/<IAM_USERNAME> <MFA_SECRET></code> | ||
* <code>[[ykman oath code]]</code> | * <code>[[ykman oath code]]</code> | ||
+ | |||
+ | Obtain [[TOTP]]: | ||
+ | * [[ykman oath code]] arn:aws:iam::<ACCOUNT_ID>:mfa/<IAM_USERNAME> | ||
Revision as of 14:10, 14 April 2023
ykman oath add -t arn:aws:iam::<ACCOUNT_ID>:mfa/<IAM_USERNAME> <MFA_SECRET>
ykman oath code
Obtain TOTP:
- ykman oath code arn:aws:iam::<ACCOUNT_ID>:mfa/<IAM_USERNAME>
See also
- TOTP
ykman oath [ info | add | code | accounts ]
- YubiKey, Yubico, FIDO security keys, FIDO2, WebAuthn, 5C Nano, YubiKey Manager,
ykman
Advertising: