You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using ionosctl v6.6.4 or newer (tested up until 6.6.8), the IONOS_API_URL environment variable does not seem to be used anymore.
Instead of accessing the api endpoint configured this way, the variable is ignored and the default value used.
Expected behavior
I expect the environment variable IONOS_API_URL to define the API endpoint accessed by ionosctl, similar to the --api-url / -u flag.
Environment
Ionosctl version:
6.6.4 (and newer)
OS:
darwin/arm64
Shell:
zsh
How to Reproduce
Set up ionosctl for normal API access, e.g. by exporting the IONOS_USERNAME and IONOS_PASSWORD env variables
Verify that API access works using ionosctl dc list
Set export IONOS_API_URL=doesnt.exist or a similar url that should not work
Run ionosctl dc list. Observe that the same result as in step 2 is obtained.
(optional) run ionosctl -u $IONOS_API_URL dc list and observe an error
The text was updated successfully, but these errors were encountered:
Description
When using ionosctl v6.6.4 or newer (tested up until 6.6.8), the
IONOS_API_URL
environment variable does not seem to be used anymore.Instead of accessing the api endpoint configured this way, the variable is ignored and the default value used.
Expected behavior
I expect the environment variable
IONOS_API_URL
to define the API endpoint accessed by ionosctl, similar to the--api-url
/-u
flag.Environment
Ionosctl version:
OS:
Shell:
How to Reproduce
ionosctl
for normal API access, e.g. by exporting theIONOS_USERNAME
andIONOS_PASSWORD
env variablesionosctl dc list
export IONOS_API_URL=doesnt.exist
or a similar url that should not workionosctl dc list
. Observe that the same result as in step 2 is obtained.ionosctl -u $IONOS_API_URL dc list
and observe an errorThe text was updated successfully, but these errors were encountered: