$ IONOS_USERNAME=test IONOS_PASSWORD=test ./builds/ionosctl_linux_amd64 datacenter list
Error: error getting credentials: nor $IONOS_USERNAME, $IONOS_PASSWORD, $IONOS_TOKEN set, nor config file: stat /home/mv/.config/ionosctl/config.json: no such file or directory
Additional Notes
This feature needs a regression test so it doesn't get removed again.
Description
201 introduced a regression that use of
ionosctl
with environment variables. This has caused failed workflows in our project.Environment variables must be used if they are defined. Please take more care when merging things.
How to Reproduce
With version
6.3.3
:With version
6.4.0
:Additional Notes
This feature needs a regression test so it doesn't get removed again.