Managed Kubernetes
5.11
Using the CLI with MFA
The new CLI supports interactive input for accounts that are set up to use Multi-factor Authentication (MFA). The --mfa string flag is utilized like this.
Syntax Example
pf9ctl config set --mfa <string>
All Available Commands and Flags
# pf9ctl config set --help
Create a new config that can be used to query Platform9 controller
Usage:
pf9ctl config set [flags]
Flags:
-u, --account_url string sets account_url
-h, --help help for set
--mfa string set MFA token
-p, --password string sets password (use 'single quotes' to pass password)
-l, --proxy_url string sets proxy URL, can be specified as [<protocol>][<username>:<password>@]<host>:<port>
-r, --region string sets region
-t, --tenant string sets tenant
-e, --username string sets username
Global Flags:
--no-prompt disable all user prompts
--verbose print verbose logs
Last updated by Anagha Pamidi on Jan 26, 2026
Was this page helpful?
Overview
Getting Started
Clusters
PMK CLI
APIs
In Cluster Monitoring
Catapult Remote Monitoring
Platform9 Managed Add-ons
Platform Administration
Workloads & Apps
Support
Powered by
