# CLI Config

The Platform9 CLI requires configuration to your SaaS Management Plane. Use the command `pf9ctl config` to create, get or update a configuration.

## Syntax Example

{% tabs %}
{% tab title="Bash" %}

```bash
pf9ctl config [command]
```

{% endtab %}
{% endtabs %}

## All Available Commands and Flags

{% tabs %}
{% tab title="Bash" %}

```bash
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.
```

{% endtab %}
{% endtabs %}

## Command Examples

### Config Set

{% tabs %}
{% tab title="Bash" %}

```bash
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
```

{% endtab %}
{% endtabs %}

### Config Get

{% tabs %}
{% tab title="Bash" %}

```bash
pf9ctl config get
{"fqdn":"https://demo.platform9.io","username":"user@clusters.com","password":"Usx4dGZvcm05QA!?=","tenant":"service","region":"RegionOne","wait_period":60,"allow_insecure":false}
```

{% endtab %}
{% endtabs %}
