Config¶
Command descriptions¶
| Command | What it does |
|---|---|
hawkbit config set |
Creates or updates a local profile with URL, username/password or OIDC token, and SSL verification settings. |
hawkbit config show |
Shows profile values (password masked). |
hawkbit config path |
Shows where the config file is stored on your system. |
hawkbit config use |
Sets the active profile used when --profile is not provided. |
hawkbit config current |
Shows the active profile name. |
hawkbit config list |
Lists all profiles and indicates which one is active. |
config set¶
Purpose: save credentials and endpoint once so other commands can reuse them.
hawkbit config set \
--profile default \
--management-url https://hawkbit.example.com \
--username admin \
--password admin \
--no-verify-ssl
OIDC example:
hawkbit config set \
--profile default-oidc \
--management-url https://hawkbit.example.com \
--oidc-token <your-access-token>
config show¶
Purpose: inspect one profile safely.
hawkbit config show --profile default -o table
config path¶
Purpose: discover the exact location of the config file.
hawkbit config path -o table
config use¶
Purpose: switch the default profile for future commands.
hawkbit config use default
config current¶
Purpose: confirm which profile is currently active.
hawkbit config current -o table
config list¶
Purpose: list all configured profiles and active state.
hawkbit config list -o table