Configuration¶
Profiles are optional. You can always pass credentials directly on commands.
Set a profile¶
hawkbit config set \
--profile default \
--management-url https://hawkbit.example.com \
--username admin \
--password admin \
--no-verify-ssl
OIDC alternative:
hawkbit config set \
--profile default-oidc \
--management-url https://hawkbit.example.com \
--oidc-token <your-access-token>
Inspect profile and config path¶
hawkbit config show --profile default -o table
hawkbit config path -o table
hawkbit config list -o table
hawkbit config current -o table
Switch active profile¶
hawkbit config use default
After this, commands such as hawkbit targets list use the active profile automatically.
Environment variables¶
HAWKBIT_MANAGEMENT_URLHAWKBIT_USERNAMEHAWKBIT_PASSWORDHAWKBIT_OIDC_TOKENHAWKBIT_VERIFY_SSL(false,0,no,offdisable verification)