Releases: IBM-Cloud/ibm-cloud-cli-release
v0.11.0
This version is deprecated. Install the latest release.
Change logs
Add resource group filter for service instances, aliases and keys
There are general changes in resource commands as following:
- By default the currently targeted resource group is used to filter instances when managing service instances, aliases and keys
-g RESOURCE_GROUP
flag is added to specify the target resource group--unset-resource-group
flag is added totarget
command to unset target resource group. If no resource group is targeted, then the commands handle the resources in all resource groups.
Add --output json
support for several commands
The following commands have flag --output format
to specify different output format. Currently only json
is supported.
account users
resource group
resource groups
resource service-instance
resource service-instances
resource service-alias
resource service-aliases
resource service-key
resource service-keys
resource service-binding
resource service-bindings
Deprecate commands app
and service
Most commands under app
and service
are actually for managing Cloudfoundry apps and services. We recommend users to use commands under cf
namespace directly.
The following commands for domain certificate management are moved to account
app domain-cert
moved toaccount domain-cert
app domain-cert-add
moved toaccount domain-cert-add
app domain-cert-remove
moved toaccount domain-cert-remove
New Commands
sl file snapshot-schedule-list
: List snapshot schedules for a given file storage volumesl file volume-modify
: Modify an existing file storage volumesl block snapshot-schedule-list
: List snapshot schedules for a given volumesl block volume-modify
: Modify an existing block storage volumesl order category-list
: List the categories of a packagesl order item-list
: List package items used for orderingsl order package-locations
: List Datacenters a package can be ordered insl order place
: Place or verify an ordersl order place-quote
: Place a quotesl order preset-list
: List package presetscatalog blacklist
: Add currently targeted account to the blacklist of the specified service
Updated Commands
catalog entry
,catalog entry-visibility
,catalog locations
,catalog search
andcatalog service
: replace--json
with--output TYPE
resource serivce-instance-update
adds--parameters
flagresource service-instances
shows more types of service instancesplugin list
adds whether update is available for each pluginresource service-key-delete
supports deleting both by name and IDresource service-instance-create
andresource service-instance-update
disables--tags
catalog locations
now shows display name instead of name
Defects Fixing
Source service name
field is blank iniam authorization-policies
outputiam service-policies --json
has extra messages--key
option does not work in commandsl vs create
catalog service
,catalog locations
,catalog search
display additional messages when--json
is used
Other changes
- plugins now are sorted by name in help
v0.10.1
This version is deprecated. Install the latest release.
Change logs
Defects Fixing
- i18n issues in French locale
- panic when running CLI
[y/N]
is translated to[O/N]
in French locale, but user still needs to input 'y' to proceed
- Issues in
iam service-policies
when--output JSON
is specified- excessive message
OK
- nothing returned when there is no policy found, it should return empty array.
- excessive message
resource service-keys
does not filter by resource groupsl vs create
:--key
flag doesn't work
v0.10.0
This version is deprecated. Install the latest release.
Change logs
Support namespace placeholder for plugins
Now a namespace can be defined as a placeholder which can be overwritten by plugins.
Updated Commands
login --sso
allows opening the URL in default browser to retrieve one time passcoderesource service-instanced
adds--output JSON
optionresource service-instances
ignores instances of CFEE, toolchain, and cloud functionscfee
commands is now marked as Betasl vs create
adds-F
option which can create virtual server instance and user data together.sl vlan create
removes-s
optioncf
commands now check whether a CF instance is targeted before invoking cf cli
Removed Commands
- The following tag commands are removed given the experimental period has expired
tag
Show details of a tag (Experimental)tag-attach
Add a tag to a resource (Experimental)tag-create
Create a tag (Experimental)tag-detach
Remove a tag from a resource (Experimental)tag-delete
Delete a tag (Experimental)tag-update
Switch user tag to restricted tag and vice versa (Experimental)tags
List all tags (Experimental)
Defects Fixing
- typo in
account spaces
andaccount orgs
commands target
does not check if endpoint is valid for--cf-api
option- Windows installer removes all plugins during uninstallation and major upgrade
- incorrect description of
--file
option in commandiam service-api-key-create
andiam api-key-create
- JSON unmarshal error in
app domain-cert
command for some types of domain certificates
other changes
- Change default plugin repo name to "IBM Cloud"
v0.9.0
This version is deprecated. Install the latest release.
Change logs
Support CFEE org, space and user management
This release adds a set of CFEE commands to manage CF orgs, spaces and roles without targeting/logging into the CFEE environment
Rename Linux installer script from install_bluemix_cli
to install
This is part of the rebranding of Bluemix
to IBM Cloud
. install_bluemix_cli
is deprecated but will be kept for a period of time before it is completely removed.
Migrate to new API for creating app from template and managing domain certificates
The following commands now use a new version of IBM Cloud API
catalog template-run
app domain-cert
app domain-cert-add
app domain-cert-remove
Filter hidden services on resource catalog
If a service is hidden on resource catalog, it won't show up in the following commands:
catalog service
catalog service-marketplace
resource service-instance-create
New Commands
cfee orgs
: list all orgscfee org
: show details of an orgcfee org-create
: create an orgcfee org-delete
: delete an orgcfee org-users
: display users in specified org by rolecfee org-role-set
: assign an org role to a user (org manager required)cfee org-role-unset
: remove an org role from a user (org manager or user him/herself only)cfee spaces
: list all spacescfee space
: show details of a spacecfee space-create
: create a new spacecfee space-rename
: rename a spacecfee space-delete
: delete a spacecfee space-role-set
: assign a space role to a usercfee space-role-unset
: remove a space role from a usercfee space-roles
: get all space roles of current usercfee space-users
: display users in a space by role
Updated Commands
login
andupdate
now show release note link URL after successful upgradelogin
adds--no-account
option which will enforce logging without an accounttarget --cf
provides tips of how to create an org if there is no org foundresource search
adds--sort-by
option- The following commands deprecated
--json
, and adds--output FORMAT
account orgs
account org
account spaces
account space
billing account-usage
billing resource-group-usage
billing resource-instances-usage
billing org-usage
iam service-policies
iam service-policy
Defects Fixing
- String
Show Help
is not translated - CFEE cache not cleared when switching to another CFEE environment
other changes
- Change environment variable prefix from
BLUEMIX
toIBMCLOUD
->BLEUMIX_COLOR
IBMCLOUD_COLOR
->BLEUMIX_ANALYTICS
IBMCLOUD_ANALYTICS
->BLEUMIX_VERSION_CHECK
IBMCLOUD_VERSION_CHECK
->BLEUMIX_HTTP_TIMEOUT
IBMCLOUD_HTTP_TIMEOUT
->BLEUMIX_TRACE
IBMCLOUD_TRACE
->BLEUMIX_HOME
IBMCLOUD_HOME
v0.8.0
This version is deprecated. Install the latest release.
Change logs
Support aliasing for plug-in name and command namespace
Now multiple names can be defined for plugin and command namespace. Users can search and update with any valid names.
Target resource group In dedicated environments
For dedicated environment which has IAM token service enabled, targeting a resource group in login
and target
command is supported so that dedicated cloud resources can be placed into a resource group
Installing to user specified directory
This release supports installing IBM Cloud CLI to a custom directory from a binary package instead of the system directory when installing from installer or shell. Refer to document here for more details.
Updated Commands
target --cf
now skips failed CFEE environmentsresource services --long
now returnsResource ID
resource service-instances
returns only resource withservice instance
type
Defects Fixing
resource service-instance-delete
shows duplicated ID in message when using ID to delete service instancesl block volume-list
returns runtime error- incorrect account org check in
target -c “” -o ORG
- plugin download doesn't honor
--skip-ssl-validation
flag - account can be unset when logging with
--api-key
which belongs to an account
v0.7.1
This version is deprecated. Install the latest release.
Change logs
Updated commands
iam service-key-create
andiam service-binding-create
no longer check whether the target deployment is IAM compatibleresource service-instance-create
will throw error if multiple services have the same name
Defects fixing
bx target --cf
fails on Windows
v0.7.0
This version is deprecated. Install the latest release.
Change logs
Support Cloud Foundry Enterprise Environment (CFEE)
IBM Cloud Foundry Enterprise Environment provides a tenant-specific Cloud Foundry environment for hosting a customer’s applications allowing compute isolation, administrative control and change management for the environment. This release adds the command lines to query the CFEE environments, show the detailed stats of a CFEE environment, the capability to select and target a CFEE environment so that the bundled cf cli can be used to manage the CFEE resources, and also the capability to alias a service instance into CFEE and bind to a CFEE application.
Support migration of Cloud Foundry service instance to resource group
This release adds the command to migrate a Cloud Foundry service instance to RC compatible service instance in a resource group if it is supported by the service
Add lock and unlock capability for service ID and API keys
Accidental deletion of service ID and API key may cause service outage. This release adds lock/unlock capability for service ID and API keys to help the user to prevent that.
Support global tagging of resources
This release incorporates a set of commands for managing the tags of Cloud resources
New commands
cfee environments
: list the CFEE environments visible to the current usercfee environment
: show the detailed stats of a CFEE environmentresource cf-service-instance-migrate
: migrate a Cloud Foundry service instance to RC compatible service instance in a resource groupresource tags
: list all tagsresource tag
: show details of a tagresource tag-create
: create a tagresource tag-delete
: delete a tagresource tag-attach
: add a tag to a resourceresource tag-detach
: remove a tag from a resourceresource tag-update
: switch user tag to restricted tag and vice versaiam service-id-lock
: lock a service IDiam service-id-unlock
: unlock a service IDiam api-key-lock
: lock an API keyiam api-key-unlock
: unlock an API keyiam service-api-key-lock
: lock a service api keyiam service-api-key-unlock
: unlock a service api key
Updated commands
target -r REGION
now shows "not supported" instead of "not found" for regions that don't have cloud foundry deploymentresource service-instance
,resource service-instance-update
andresource service-instance-delete
now allow using ID as argumenttarget --cf
allows user to select and target either a public Cloud Foundry instance or CFEE environmenttarget --cf-api
allows user to target a public Cloud Foundry instance or CFEE environment by specifying the api endpoint of the Cloud Foundry instanceresource service-alias-create
supports creating a service alias in CFEE environmentresource service-binding-create
allows binding a service instance to a CFEE application-v, --version
option is removed fromiam access-group-policy-update
,iam service-api-key-update
,iam service-policy-update
andiam user-policy-update
iam service-ids
,iam api-keys
andiam service-api-keys
add a column to indicate whether the service ID or key is locked or notiam service-id-create
,iam api-key-create
andiam service-api-key-create
add--lock
function to lock the service ID or api key when it is created.iam service-id-update
,iam service-id-delete
,iam api-key-update
,iam api-key-delete
,iam service-api-key-update
andiam service-api-key-delete
will fail if the service ID or api key is locked.iam access-group-policy-create
,iam access-group-policy-update
,iam user-policy-create
,iam user-policy-update
,iam service-policy-create
andiam sevice-policy-update
add validation of resource groupaccount user-delete
changes toaccount user-remove
account user-invite
provide options (-o
,--org-role
,-s
,--space-role
) to invite a user to org/space.
Defects fixing
- Some commands shows "not logged in" when user logs in dedicated environment with
--no-iam
option target --cf
fails when IAM token expiresiam oauth-tokens
fails when logging in with--no-iam
option- Authorization policy created from
iam authorization-policy-create
does not work when specifying the service instance in the policy
Other changes
- Upgrade to Golang 1.9.6
- Auto-completion is removed from system shell setting. The user needs to enable it by him/herself by sourcing the script in the user shell profile
- Installation path changes from
/usr/local/Bluemix
to/usr/local/ibmcloud
v0.6.7
This version is deprecated. Install the latest release.
Change logs
Remove Cloud Foundry UAA token retrieval when logging in IBM Cloud
Given Cloud Foundry is only one of the services provided by IBM Cloud, the logging into CF to retrieve UAA tokens is removed from the IBM Cloud login process by default. The user needs to use target -o -s
or target --cf
command to set/select a cloud foundry instance to manage the Cloud Foundry resources.
-o
and -s
options in login
command are deprecated but still kept to maintain the compatibility.
Support access group and assigning policies to access group
Access group allows to organize users and service IDs into a group and manage access by assigning policies to the group. This release adds the command line support for access group, including both the CRUD of access groups and management of IAM policies for the access group.
Support Linux for PPC64le
Starting from this release, Linux for PPC64le architecture is formally supported. This is only for IBM Cloud CLI and does not include the plug-ins. Go to IBM Cloud CLI plug-in repository to check the os and platforms supported by each plug-in.
Rebrand the command line from bluemix
to ibmcloud
The name of IBM Cloud CLI is formally changed to ibmcloud
starting from this release. The previous long name bluemix
and short name bx
are still supported and kept for a period of time until they are formally deprecated.
Support searching resource globally
This release added the capability to search cloud resources globally using Lucene query syntax with command resource search
.
New commands
iam access-groups
List all the access groupsiam access-group
Show details of an access groupiam access-group-create
Create an access groupiam access-group-update
Update the name and description of an access groupiam access-group-delete
Delete an access groupiam access-group-user-add
Add users to an access groupiam access-group-user-remove
Remove a user from an access groupiam access-group-user-purge
Remove a user from all access groupsiam access-group-users
List users of an access groupsiam access-group-service-id-add
Add service IDs to an access groupiam access-group-service-id-remove
Remove a service ID from an access groupiam access-group-service-id-purge
Remove a service ID from all access groupsiam access-group-service-ids
List service IDs of an access groupsiam access-group-policies
List policies of an access groupiam access-group-policy
Show details of an access group policyiam access-group-policy-create
Create an access group policyiam access-group-policy-update
Update an access group policyiam access-group-policy-delete
Delete an access group policyresource search
Search resources using Lucene query syntax
Updated commands
regions
lists all the regions no matter there is cloud foundry service or notlogin
shows how to login with api key and one-time passcode when authentication is rejected because of using a federated ID or MFA is requiredupdate
changes the default answer to 'N' when confirming whether to update nowruntime
andruntimes
commands only support public cloud- Allows using uuid beside name in service ID, service ID policy and Service ID api key management
iam sevice-id
iam service-id-update
iam service-id-delete
iam service-policies
iam service-policy
iam service-policy-create
iam service-policy-update
iam service-policy-delete
iam service-api-keys
iam service-api-key
iam service-api-key-create
iam service-api-key-update
iam service-api-key-delete
iam service-api-keys
,iam service-api-key
,iam service-api-key-create
,iam service-api-key-update
,iam service-api-key-delete
add--force
option to fail the command when multiple service IDs are found for the given service ID nameresource service-instance
shows "Last Operation" information of the service instance
Removed Commands
catalog template-run
Defects fixing
- incorrect accept-language header when sending HTTP request
- only account owner can invite user to the account
iam user-policy
,iam user-policies
,iam service-policy
,iam service-policies
are not showing service and resource fields when the policy is applied to resource group members.
Other changes
- Environment variables
BLUEMIX_TRACE
andBLUEMIX_COLOR
now apply to Cloud Foundry commands as well. - Added additional environment variables
BLUEMIX_ANLALYTICS
,BLUEMIX_VERSION_CHECK
,BLUEMIX_HTTP_TIMEOUT
to overwrite the settings in configuration file
v0.6.6
This version is deprecated. Install the latest release.
Change logs
Several change in login
- Add
-g
flag to specify the targeted resource group - Show detailed message when authentication fails
- Enforce account selection when the user is associated with account(s)
- Target the account automatically when specifying org with
-o
option - Deprecate
-o
and-s
flags ( usetarget
to specify CF org and space)
Updated Commands
- For billing commands listed below, remove the restriction of account owner.
account-usage
,resource-group-usage
,resource-instances-usage
,org-usage
service-instance-create
command:- Prompt for selection if multiple deployments have the same name
- Add
--deployment
flag to resolving duplicated deployment names
bx update -f
uses silent install mode ( root privilege is required)
Fixed defects
login -o
does not set org in non-public environmentiam authorization-policies
shows nothing when there is no authorization policy(should show "not found" message)cf ssh
hangs in windows versioncf [command]
lost color in windows versionaccount org
lost inlined properties(domain, quota) of an organization- Incorrect command usage description in
iam service-api-key-delete
- Fix a regression which breaks autocomplete on macOS
v0.6.5
This version is deprecated. Install the latest release.
Change logs
Add support for authorization policy
A few IAM policy commands are added to provide service-to-service authorization support.
Add resource group support for billing commands
This release moves to a new version of billing and usage api which enables the capability to query usage summary by resource group and resource instance usage details in a given resource group or organization.
New commands
iam authorization-policies
: list authorization policies under current accountiam authorization-policy
: show details of an authorization policyiam authorization-policy-create
: create an authorization policyiam authorization-policy-delete
: delete an authorization policybilling resource-group-usage
: show monthly usage for a resource groupbilling resource-instances-usage
: show monthly resource instances usagecatalog runtimes
: show the list of runtimescatalog runtime
: show the details of a runtime
Updated commands
bluemix resource service-instance-update
: remove--update-time
option
Fixed defects
- Error message for unregistered commands is not translated
bash: PROGS: readonly variable
warning message in bash shell sessions