Skip to content

@archerzz archerzz released this Aug 21, 2019

Installers

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Binaries

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Change logs

This release contains a few bug fixes and minor changes.

Updated Commands

  • plugin list: when there is any error during retrieving plugin information, the command exit code will still be 0 (i.e. success). This change is to make it easier to write automation scripts.
  • billing enterprise-usage: numbers are rounded off to 2 decimal places

Defect Fixes

  • billing enterprise-usage: JSON unmarshal error regarding number types
  • sl securitygroup interface-list: nil pointer error
Assets 2

@boyang9527 boyang9527 released this Jul 29, 2019

Installers

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Binaries

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Change logs

This release adds a set of new command lines to manage IBM Cloud enterprise account, account groups and accounts in an enterprise, as well as usage/billing of an enterprise.

IBM Cloud enterprises provide a way to centrally manage billing and resource usage across multiple accounts. Within an enterprise, you create a multitiered hierarchy of accounts, with billing and payments for all accounts managed at the enterprise level.

New Commands

  • enterprise create: create an enterprise
  • enterprise update: update the name of an enterprise
  • enterprise show: show the details of an enterprise
  • enterprise account-group-create: create an account group under an enterprise or account group
  • enterprise account-group-update: update the name of an account group
  • enterprise account-group: show the details of an account group
  • enterprise account-groups: list the account groups under an enterprise account or account group
  • enterprise account-create: create an account under an enterprise or account group
  • enterprise account-move: move an account to a different account group or directly under enterprise account
  • enterprise account-show: show the details of an account in an account group or enterprise
  • enterprise account-import: import a stand-alone account into an account group or enterprise
  • billing enterprise-usage: retrieve usage report of an enterprise
Assets 2

@archerzz archerzz released this Jul 22, 2019

Installers

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Binaries

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Change logs

Updated Commands

  • account audit-logs: if both --start-date and --end-date are specified, all logs in-between will be printed.
  • account update: improves prompt message of how to enable CSE.
  • catalog search --output JSON and catalog service --output JSON: only i18n strings of current locale are returned in the json output
  • catalog template: adds --output option
  • help: updates layout of the help message
  • resource service-instance: shows the name of who created the service instance instead of UUID
  • improves prompt messages when refresh token expires
  • add --output options to the following commands under account namespace
    • audit-logs
    • list
    • org-account
    • org-roles
    • space-roles

Defect Fixing

  • iam access-group-user-add returns zero when command partially succeeds
  • login inaccurate error message when logging using API key into an account which the current user doesn't belong to anymore
  • login fails when deprecated Bluemix API endpoint is targeted and -o is specified
  • [y/n] in prompt is translated

Other Changes

  • Upgrade to Go 1.12.7

Breaking Changes

  • Default resource group will NOT be targeted if -g is not specified in login and target commands. This will have impact on the some commands under resource namespace, because if you don't target a resource group, then they will assume to target at all resource groups. Besides, the following commands will fail if no resource group is targeted.
    • cf-service-instance-migrate
    • service-instance-create
Assets 2

@archerzz archerzz released this Jun 24, 2019

Installers

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Binaries

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Change logs

Removed Commands

  • remove all commands under sl cdn namespace, given Softlayer CDN service is sunset

Defect Fixing

  • iam access-group-user-add: user ID email should be treated as case insensitive
  • commands under sl namespace do not honor language setting
  • billing account-usage: non-chargeable costs should have No charge indication
Assets 2

@archerzz archerzz released this Jun 11, 2019

Installers

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Binaries

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Change logs

Updated Commands

  • sl order place: support more order types

Defect Fixing

  • login, target: failed with 403 when targeting a resource group with name if the user doesn't have admin permission. This is a regression of version 0.16.1.
  • sl snapshot list: column name should be user_name
  • resource tag-attach, resource tag-detach: incorrect processing of --resource-id value
Assets 2

@archerzz archerzz released this Jun 5, 2019

Installers

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Binaries

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Change logs

Use account owner user ID to target an account

Now account owner user ID (normally an email ) can be used as the value of -c flag of login and target commands. Note that a user can be the owner of multiple accounts. In this case, user will be be prompted for selection. GUID is still recommended in automation script to avoid suspending of the script execution.

Use resource group GUID to target resource group

Resource group GUID now can be used as the value of -g flag of login and target commands. This will help avoid error when the account has multiple resource groups with same name.

Fallback to default auto-completion

If no specific auto-completion is available, the CLI will fallback to default auto-completion logic of the current shell. With his feature, the user will be able to select a local file when specifying the input value of flags.

SoftLayer Infrastructure Rebranding

SoftLayer CLI description is changed from Gen1 Infrastructure to Classic Infrastructure

Updated commands

  • sl cdn options: refines message when response is empty
  • help: updates help doc link to https://ibm.biz/cli-docs
  • resource service-instance-create, resource service-instance-update: adds description of possible values for --service-endpoints flag
  • resource service-key-create, resource service-binding-create: adds description of possible values for --service-endpoint flag
  • plugin list, plugin show: shows stage information
  • cfee:
    • create:
      • NAME LOCATION arguments are changed into -n, --name and --location
      • adds --virtual-dedicated-hardware and --private-access flags
    • create-location: adds --output flag
    • create-permission-get, create-permission-set: changes one target permission from developer role to the current space in the current org for provisioning Compose for PostgreSQL to editor role to the Databases for PostgreSQL service
    • environments: adds Zones output

Defect Fixing

  • service-instance-create: erroneous search logic which may result in false errors r
  • iam service-key-create, iam service-key: output order is random
  • access-group-user-add: fail to add a user to access group if teamDirectory is false
Assets 2

@archerzz archerzz released this May 16, 2019

Installers

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Binaries

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Change logs

Automatically change *.bluemix.net API endpoint to cloud.ibm.com for IBM Cloud public

If *.bluemix.net API endpoint is used for public cloud, they will be changed automatically to https://cloud.ibm.com

Customize the installation of bundled Cloud Foundry CLI

Starting from this release, ibmcloud cf install can be used to install a different version of Cloud Foundry CLI than the default bundled one. To restore the originally version, run ibmcloud cf install --restore.

Add "stage" support for namespaces and commands

A stage attribute is added to namespaces and commands, which will be highlighted in the description of the namespace and command. The stage can be "Experimental", "Beta" or "Deprecated".

Support auto-completion delegation to plug-ins

This release supports delegating auto-completion to plug-ins. Refer to plugin example for how to use it.

New commands

  • cf install : install a different version of CF CLI to replace the default bundled one.

Updated commands

  • iam authorization-poicy-create adds --source-service-account flag to specify a different account than the current account.
  • --output JSON flag is added to the following commands under iam namespace:
    • oauth-tokens
    • roles
    • access-groups
    • access-group
    • access-group-create
    • access-group-update
    • access-group-users
    • access-group-service-ids
    • access-group-policies
    • access-group-policy
    • access-group-policy-create
    • access-group-policy-update
    • api-keys
    • api-key-create
    • api-key-update
    • service-api-keys
    • service-api-key
    • service-api-key-create
    • service-api-key-update
    • service-ids
    • service-id
    • service-id-create
    • service-id-update
    • service-policies
    • service-policy
    • service-policy-create
    • service-policy-update
    • user-policies
    • user-policy
    • user-policy-create
    • user-policy-update

Other Change

  • Upgrade bundled Cloud Foundry CLI to 6.41.0
  • Upgrade Go lang to 1.12.4
Assets 2

@archerzz archerzz released this Apr 11, 2019

Installers

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Binaries

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Change logs

Updated commands

  • Change flag name "columns" to "column" in the following commands ("columns" can still be used but will not show up in command help):
    • sl block access-list
    • sl block volume-list
    • sl file access-list
    • sl file volume-list
    • sl hardware list
    • sl user list
    • sl vs list

Defect Fixing

  • cfee create: wrong org id when requesting to create a new CFEE instance
  • resource service-instance-create: failed to create service instance due to incorrect parameter check
  • resource service-bindings: missing some bindings
  • login:
    • arbitrary number of arguments are accepted
    • no explicit error message when API key is not found

Other Change

  • Update license
Assets 2

@archerzz archerzz released this Apr 1, 2019

Installers

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Binaries

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Change logs

Log in with service ID

A service ID identifies a service or application similar to how a user ID identifies a user. You can assign specific access policies to the service ID that restrict permissions for access IBM Cloud resources. Since service IDs are not tied to a specific user, if a user happens to leave an organization and is deleted from the account, the service ID remains ensuring that your application or service stays up and running.

Starting from this release, logging in with a service ID api key is supported besides a normal user ID. Use the following steps to use this feature

  • Create a service ID
  • Create an API key of the service ID
  • Log in with command ibmcloud login --apikey KEY where KEY is the api key string you created for the service ID.

Service Endpoint Support

If your account is VRF(Virtual Routing and Forwarding) enabled, you can specify service endpoint options when managing service instances.

  • In resource service-instance-create and resource service-instance-update, you can enable public, private, or public-and-private endpoints for the service instance. Note that the available endpoint options are defined by the service in global catalog.
  • In resource service-key-create and resource service-binding-create, you can select an endpoint type from the ones that were enabled when the service instance was created.

New commands

  • account audit-logs: List Softlayer account audit logs

Updated Commands

  • login: adds prompt to set proper IAM policy if logging in with service ID fails because of being not authorized to get account information.
  • target: adds --output flag to generate JSON output
  • account show:
    • adds account type, name and owner in output
    • show - instead of error messages when there is error in querying account VRF status
  • resource service-instances: adds --type flag to filter instances by type.
  • resource service-instance: shows the endpoint types if it is specified.
  • resource service-instance-create:
    • adds validation to check wether the service is provisionable from command line
    • adds check to ensure all required parameters are specified
      • if required parameters are missing, default value (if exists) will be applied
    • adds --service-endpoints flag to specify the service endpoint types
  • resource service-instance-update:
    • adds --service-endpoints flag to specify the service endpoint types
    • searches the service instance in all resource group is no resource group is targeted
  • resource service-key-create:
    • adds --service-endpoint flag to specify the service endpoint type
    • removes options for system defined roles
  • resource service-binding-create:
    • adds --service-endpoint flag to specify the service endpoint type
    • removes options for system defined roles
  • iam: adds support to use * to specify all resource groups in IAM policy commands
  • sl ticket: adds --priority flag

Defect Fixing

  • resource cf-migrate-service: fail to migrate Cloud Foundry services when its service plan name is different from the name in resource catalog in letter case
  • resource groups: default property is missing in the JSON output
  • resource service-key-create, resource service-binding-create: remove support of system defined roles. Those two commands should only support service specific roles. Run ibmcloud iam roles --service SERVICE_NAME to get specific roles of each service.
  • sl hardware list: nil pointer exception when some information is not available
  • some command flags are not translated

Other changes

  • sl commands: adds auto-refresh when the token expires
Assets 2

@archerzz archerzz released this Feb 7, 2019

Installers

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Binaries

Mac OS X 64 bit
Windows 64 bit
Windows 32 bit
Linux 64 bit
Linux 32 bit
Power Linux 64 bit

Change logs

Account based MFA

Multifactor authentication (MFA) adds an extra layer of security to your account by requiring all users to authenticate by using an additional authentication method beyond an ID and password. This is also commonly known as two-factor authentication (2FA). In this release, account based MFA is added to allow you to log in if security questions, a time-based one-time passcode, or external authentication options is set at your account level. Refer to doc page for types of MFA. ID-based MFA will be supported in a future release.

Use IAM token for accessing Softlayer resources

Previously ibmcloud sl init is needed to retrieve IMS token before using other ibmcloud sl commands to manage SoftLayer resources. This was changed recently and now IAM token can be used to invoke Softalyer APIs as well. Starting from this release, command ibmcloud sl init is removed and IBM Cloud CLI will be using single IAM token to access all IBM cloud resources including SoftLayer resources.

New commands,

  • sl ticket: Manage Softlayer tickets
  • resource tags: List all tags
  • resource tag-attach: Add tags to a resource
  • resource tag-detach: Remove tags from a resource
  • resource tag-delete: Delete a tag

Updated Commands

  • account show:
    • adds status of VRF enabled or not
    • adds account traits
  • service-key: Supports querying service key by either name or ID
  • authorization-policy-create: adds --source-resource-type and --target-resource-type option to support authorization policies on composite services

Defect Fixing

  • org-create: fails when user id is an email address with mixed cases
  • space-delete: doesn't return error if target space doesn't exist
  • login: login with -r cause nil pointer runtime error

Break Changes

  • sl init command is removed, as a result of IAM token support in Softlayer commands

Other changes

  • upgrades to Go 1.10.3
Assets 2
You can’t perform that action at this time.