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

pf9ctl config --help Create or get PF9 controller config used by this CLI Usage: pf9ctl config [command] Available Commands: get Print stored config set Create a new config Flags: -h, --help help for config Global Flags: --verbose print verbose logs Use "pf9ctl config [command] --help" for more information about a command.

Command Examples

Config Set

pf9ctl config set Platform9 Account URL: https://du-test-kplane-anup-3727.platform9.horse Username: anup@platform9.com Password: Region [RegionOne]: Tenant [service]: 2021-02-22T07:27:37.0952Z INFO Storing config

Config 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}


  Last updated by Anagha Pamidi