IBM-Cloud / ibm-cloud-cli-release

Apache License 2.0
155 stars 76 forks source link

[BUG] ibmcloud iam account-settings-update --allowed-ip-addresses - No method to successfully disable/remove all IPs #211

Closed BShadeWork closed 1 month ago

BShadeWork commented 2 months ago

Run for example ibmcloud iam account-settings-update --allowed-ip-addresses 0.0.0.0,1.2.3.4 and these ips replace the ones in the IP address access list and enable this setting. However there is no way to reverse this. The docs and help say (default is "") but this does not work. ibmcloud iam account-settings-update --allowed-ip-addresses "" just give the result OK but does not change the setting, and the ip list is still enforced/enabled

steveclay commented 2 months ago

While this is researched, you should be able to update this in the IBM Cloud console. Apologies for the inconvenience.

steveclay commented 1 month ago

In release 2.28.0, there is a new option account-settings-update --unset-allowed-ip-addresses that should satisfy this need. Please reopen this issue as needed. Thank you