Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MFA about Application Credential with CLI #56

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -156,15 +156,18 @@ the user ID, you can find your user ID by issuing a token ``openstack token issu
interface: public
identity_api_version: 3

.. note::

The below workflow of using a token with the OpenStack Terminal Client does not
work when using an Application Credential with MFA enabled and you must authenticate
every request instead.

You can now run the following command to issue a new token, you will be prompted for a TOTP
passcode.

::

# Using password and passcode
export OS_TOKEN=$(openstack --os-cloud binero-cloud-mfa token issue -c id -f value)
# or, using a application credential and passcode
export OS_TOKEN=$(openstack --os-cloud binero-cloud-mfa-appcred token issue -c id -f value)

This token is valid for one hour. You can now use it when running commands like below.

Expand Down