---
title: config
description: Canonical makes open source secure, reliable and easy to use, providing
  support for Ubuntu and a portfolio of enterprise-grade technologies. Founded in
  2004, Canonical operates globally with team members in over 80 countries.
url: https://canonical-com-2934.demos.haus/maas/docs/config?format=md
---

*Submit*

# config

View or change controller configuration.

```
maas config [-h] [--show] [--show-database-password] [--show-secret] \
[--maas-url MAAS_URL] [--vault-uri VAULT_URI] \
[--vault-approle-id VAULT_APPROLE_ID] [--vault-wrapped-token VAULT_WRAPPED_TOKEN] \
[--vault-secrets-path VAULT_SECRETS_PATH]  [--vault-secrets-mount VAULT_SECRETS_MOUNT] \
[--secret SECRET] [--num-workers NUM_WORKERS]  [--enable-debug] [--disable-debug] \
[--enable-debug-queries] [--disable-debug-queries] [--parsable]
```

#### Command-line options

| Option | Effect |
| --- | --- |
| -h, --help | show this help message and exit |
| –show | Show the current configuration. Default when no |
|  | parameters are provided. |
| –show-database-password | Show the hidden database password. |
| –show-secret | Show the hidden secret. |
| –maas-url MAAS\_URL | URL that MAAS should use for communicate from the |
|  | nodes to MAAS and other controllers of MAAS. |
| –vault-uri VAULT\_URI | Vault URI |
| –vault-approle-id VAULT\_APPROLE\_ID | Vault AppRole Role ID |
| –vault-wrapped-token VAULT\_WRAPPED\_TOKEN | Vault Wrapped Token for AppRole ID |
| –vault-secrets-path VAULT\_SECRETS\_PATH | Path prefix for MAAS secrets in Vault KV storage |
| –vault-secrets-mount VAULT\_SECRETS\_MOUNT | Vault KV mount path |
| –secret SECRET | Secret token required for the rack controller to talk |
|  | to the region controller(s). Only used when in ‘rack’ |
|  | mode. |
| –num-workers NUM\_WORKERS | Number of regiond worker processes to run. |
| –enable-debug | Enable debug mode for detailed error and log |
|  | reporting. |
| –disable-debug | Disable debug mode. |
| –enable-debug-queries | Enable query debugging. Reports number of queries and |
|  | time for all actions performed. Requires debug to also |
|  | be True. mode for detailed error and log reporting. |
| –disable-debug-queries | Disable query debugging. |
| –parsable | Output the current configuration in a parsable format. |

---

[Previous

configauth](https://canonical-com-2934.demos.haus/maas/docs/configauth)
[Next

config-tls](https://canonical-com-2934.demos.haus/maas/docs/config-tls)

Last updated 1 year, 5 months ago. [Help improve this document in the forum](https://discourse.maas.io/t/config/11403).
