Releases: IBM-Cloud/ibm-cloud-cli-release
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 --cfnow skips failed CFEE environmentsresource services --longnow returnsResource IDresource service-instancesreturns only resource withservice instancetype
Defects Fixing
resource service-instance-deleteshows duplicated ID in message when using ID to delete service instancesl block volume-listreturns runtime error- incorrect account org check in
target -c “” -o ORG - plugin download doesn't honor
--skip-ssl-validationflag - account can be unset when logging with
--api-keywhich belongs to an account
v0.7.1
This version is deprecated. Install the latest release.
Change logs
Updated commands
iam service-key-createandiam service-binding-createno longer check whether the target deployment is IAM compatibleresource service-instance-createwill throw error if multiple services have the same name
Defects fixing
bx target --cffails 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 REGIONnow shows "not supported" instead of "not found" for regions that don't have cloud foundry deploymentresource service-instance,resource service-instance-updateandresource service-instance-deletenow allow using ID as argumenttarget --cfallows user to select and target either a public Cloud Foundry instance or CFEE environmenttarget --cf-apiallows user to target a public Cloud Foundry instance or CFEE environment by specifying the api endpoint of the Cloud Foundry instanceresource service-alias-createsupports creating a service alias in CFEE environmentresource service-binding-createallows binding a service instance to a CFEE application-v, --versionoption is removed fromiam access-group-policy-update,iam service-api-key-update,iam service-policy-updateandiam user-policy-updateiam service-ids,iam api-keysandiam service-api-keysadd a column to indicate whether the service ID or key is locked or notiam service-id-create,iam api-key-createandiam service-api-key-createadd--lockfunction 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-updateandiam service-api-key-deletewill 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-createandiam sevice-policy-updateadd validation of resource groupaccount user-deletechanges toaccount user-removeaccount user-inviteprovide 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-iamoption target --cffails when IAM token expiresiam oauth-tokensfails when logging in with--no-iamoption- Authorization policy created from
iam authorization-policy-createdoes 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/Bluemixto/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-groupsList all the access groupsiam access-groupShow details of an access groupiam access-group-createCreate an access groupiam access-group-updateUpdate the name and description of an access groupiam access-group-deleteDelete an access groupiam access-group-user-addAdd users to an access groupiam access-group-user-removeRemove a user from an access groupiam access-group-user-purgeRemove a user from all access groupsiam access-group-usersList users of an access groupsiam access-group-service-id-addAdd service IDs to an access groupiam access-group-service-id-removeRemove a service ID from an access groupiam access-group-service-id-purgeRemove a service ID from all access groupsiam access-group-service-idsList service IDs of an access groupsiam access-group-policiesList policies of an access groupiam access-group-policyShow details of an access group policyiam access-group-policy-createCreate an access group policyiam access-group-policy-updateUpdate an access group policyiam access-group-policy-deleteDelete an access group policyresource searchSearch resources using Lucene query syntax
Updated commands
regionslists all the regions no matter there is cloud foundry service or notloginshows how to login with api key and one-time passcode when authentication is rejected because of using a federated ID or MFA is requiredupdatechanges the default answer to 'N' when confirming whether to update nowruntimeandruntimescommands only support public cloud- Allows using uuid beside name in service ID, service ID policy and Service ID api key management
iam sevice-idiam service-id-updateiam service-id-deleteiam service-policiesiam service-policyiam service-policy-createiam service-policy-updateiam service-policy-deleteiam service-api-keysiam service-api-keyiam service-api-key-createiam service-api-key-updateiam 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-deleteadd--forceoption to fail the command when multiple service IDs are found for the given service ID nameresource service-instanceshows "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-policiesare not showing service and resource fields when the policy is applied to resource group members.
Other changes
- Environment variables
BLUEMIX_TRACEandBLUEMIX_COLORnow apply to Cloud Foundry commands as well. - Added additional environment variables
BLUEMIX_ANLALYTICS,BLUEMIX_VERSION_CHECK,BLUEMIX_HTTP_TIMEOUTto overwrite the settings in configuration file
v0.6.6
This version is deprecated. Install the latest release.
Change logs
Several change in login
- Add
-gflag 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
-ooption - Deprecate
-oand-sflags ( usetargetto 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-createcommand:- Prompt for selection if multiple deployments have the same name
- Add
--deploymentflag to resolving duplicated deployment names
bx update -fuses silent install mode ( root privilege is required)
Fixed defects
login -odoes not set org in non-public environmentiam authorization-policiesshows nothing when there is no authorization policy(should show "not found" message)cf sshhangs in windows versioncf [command]lost color in windows versionaccount orglost 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-timeoption
Fixed defects
- Error message for unregistered commands is not translated
bash: PROGS: readonly variablewarning message in bash shell sessions
v0.6.4
This version is deprecated. Install the latest release.
Change logs
Enable parameters when creating resource binding and resource key
-p, --parameters flag is provided in resource service-binding-create and resource service-key-create commands to support custom parameters.
Adopt POSIX sh as the default shell environment for Linux and macOS installers
Some bashisms are removed from install scripts to make installers work under POSIX sh (i.e. #!/bin/sh),
Updated commands
bluemix updateadd-fflag to to force update without confirmationbluemix apiandbluemix loginshow information regarding how to disable version check
v0.6.3
This version is deprecated. Install the latest release.
Change logs
Move from global catalog API v1-bata to v1
This release moves to v1 API of global catalog, and incorporates several catalog metadata changes in v1 API.
Refresh configurations before running commands
This version now checks the integrity of the configurations, and refresh them if necessary, before running a command.
Rebranding from 'Bluemix' to 'IBM Cloud'
This release changes the word Bluemix in command descriptions, help messages and installers to IBM Cloud. Commands syntax stays unchanged.
Softlayer command line enhancements
This release adds several new commands for Softlayer block storage service, security group and virtual servers.
New commands
sl block access-passwordchange a password for a volume's accesssl block volume-countlist number of block storage volumes per datacentersl block volume-set-lun-idset the LUN ID on an existing block storage volumesl file volume-countlist number of file storage volumes per datacentersl securitygroup createcreate a security groupsl securitygroup listlist security groupssl securitygroup deletedelete the given security groupsl securitygroup detailget details about a security groupsl securitygroup editedit details of a security groupsl securitygroup interface-addattach an interface to a security groupsl securitygroup interface-listlist interfaces associated with security groupsl securitygroup interface-removedetach an interface from a security groupsl securitygroup rule-addadd a security group rule to a security groupsl securitygroup rule-editedit a security group rule in a security groupsl securitygroup rule-listlist security group rulessl securitygroup rule-removeremove a rule from a security groupsl vs host-createcreate a host for dedicated virtual serverssl vs host-listlist dedicated hosts on your account
Updated commands
resource service-instance-createchanges-roption toLOCATIONargumentplugin shownow shows the SDK versionregionslists public regions if no api endpoint setiam service-policy-updateandiam user-policy-updateresets the policy definition from inputs, instead of applying incremental changes
Defect fixing
app domain-cert-adddoesn't encode password
other changes
- Improve error handling for some commands
v0.6.2
This version is deprecated. Install the latest release.
Change logs
Public IAM support for dedicated environments
This release enables the dedicated environment users to be able to authenticate with public IAM service and connect the IBM ID for public cloud with existing dedicated ID. This allows the dedicated users to be able to use public IAM service for authentication and access policy management.
Identity and access management enhancements
This release incorporates the following changes in identify and access management
- uses service-id as argument to create/update/delete service api key, instead of "bound_to" CRN
- adopts global IAM service endpoint
- adds resource group scope support for IAM policies
NTLM proxy support for Windows
The Windows version now supports NTLM proxy authentication. If environment variable NTLM_PROXY is set, then Bluemix cli uses NTLM protocol to authenticate with the proxy specified by HTTPS_PROXY. The bundled cf will do the same.
Resource control command refactoring
This release has several changes on the resource control command names, argument/option names and help messages for the consistency of terminologies.
resource instanceschanges toresource service-instancesresource instancechanges toresource service-instanceresource instance-createchanges toresource service-instance-createresource instance-updatechanges toresource service-instance-updateresource instance-deletechanges toresource service-instance-deleteresource key-createchanges toresource service-key-createresource keyschanges toresource service-keysresource keychanges toresource service-keyresource key-deletechanges toresource service-key-deleteresource bindingschanges toresource service-bindingsresource bindingchanges toresource service-bindingresource binding-createchanges toresource service-binding-createresource binding-deletechanges toresource service-binding-deleteresource aliaseschanges toresource service-aliasesresource aliaschanges toresource service-aliasresource alias-createchanges toresource service-alia-createresource alias-updatechanges toresource service-alia-updateresource alias-deletechanges toresource service-alia-delete
New commands
resource group-createcreate a resource group under an account besides the default resource group of the accountiam dedicated-id-disconnectto tear down the connection between public IBM ID and ID of the dedicated environmentcatalog serviceshows details of a catalog entrycatalog locationslist deployment environments geolocationcatalog entry-copyduplicate an existing catalog entry
Updated commands
logincommand goes to public IAM service for authentication if the dedicated environment is configured to use pubic IAM service. It fails the login if IBM ID and dedicated ID connection is not established. It also display the ID connections if login is successfulaccount spacesadds '-r' and '-o' options to specify a different region and organizationaccount org-rolesadds '-u' option to specify a different user than the current userplugin showremoves the preceding tab in the command displayaccount usersallows any user associated with the account to be able to list the account users, instead of account owner onlysl initallows two phase authenticationaccount user-invitedoes not require target org/space and rolesaccount org-createis disabled for dedicated and local environments
Defect fixing
- EOF error is ignored in prompts
logingoes to interactive mode when specified api key or password is not correct- Check IAM token as prerequisite for
account users,account user-invite,account user-reinvite,account user-deleteandaccount org-roles
other changes
- upgraded to Golang 1.9.2
v0.6.1
This version is deprecated. Install the latest release.
Change logs
This release includes several minor changes for user experience enhancements and defect fixing
Updated commands
account user-inviteadds org/space role description in the command usageresource binding-createandresource key-createadd role check and tips of valid rolesresource instance-createshows the region of the instance created
Defect fixing
- typo in
resource alias-createwhen showing message of not being able to create alias in the region app pushdoes not allow empty app nametarget --cfalways select the first org