Config Command
The Platform9 CLI requires configuration to your SaaS Management Plane. Use the command pf9ctl config to create, get or update a configuration.
Syntax Example
pf9ctl config [command]All Available Commands and Flags
x
pf9ctl config --helpCreate or get PF9 controller config used by this CLIUsage: pf9ctl config [command]Available Commands: get Print stored config set Create a new configFlags: -h, --help help for configGlobal Flags: --verbose print verbose logsUse "pf9ctl config [command] --help" for more information about a command.Command Examples
Config Set
pf9ctl config setPlatform9 Account URL: https://du-test-kplane-anup-3727.platform9.horseUsername: anup@platform9.comPassword:Region [RegionOne]:Tenant [service]:2021-02-22T07:27:37.0952Z INFO Storing configConfig Get
pf9ctl config get{"fqdn":"https://demo.platform9.io","username":"user@clusters.com","password":"Usx4dGZvcm05QA!?=","tenant":"service","region":"RegionOne","wait_period":60,"allow_insecure":false}Was this page helpful?