Skip to content

Releases: IBM-Cloud/ibm-cloud-cli-release

v0.6.0

29 Sep 19:16
Compare
Choose a tag to compare

This version is deprecated. Install the latest release.

Change logs

Identity and access management for users and services

This release incorporates a set of command lines to support the service id, service api key management, and access policy management for users and services.

New cloud resource management

This release adds a set of command lines to support resource groups, quota, resource catalog, resource instance, resource key, resource alias and instance binding to CloudFoundry applications.

Move account/org/space/user related commands from namespace 'iam' to 'account'

The command lines to manage accounts, account users, orgs, spaces and org/space roles are moved from 'iam' namespace to 'account' namespace. We still keep a copy under 'iam' as well. But we encourage users to adopt the commands under 'account' namespace.

CLIs for Softlayer load balancer

This release adds command lines to manage Softlayer load balancer service.

Login experience improvement

bx api / bx loginshows current available public api endpoints for users to select, if no API endpoint was set previously.

New commands

  • Commands under iam namespace to manage service policies
   service-policies         List all service policies of specified service
   service-policy           Display details of a service policy
   service-policy-create    Create a service policy
   service-policy-update    Update a service policy
   service-policy-delete    Delete a service policy
  • Commands under iam namespace to manage user policies
   user-policies            List policies of a user
   user-policy              Display details of a user policy
   user-policy-create       Create a user policy for resources in current account
   user-policy-update       Update a user policy for resources in current account
   user-policy-delete       Delete a user policy
  • Commands under iam namespace to manage service IDs
   service-ids              List all service IDs
   service-id               Display details of a service ID
   service-id-create        Create a service ID
   service-id-update        Update a service ID
   service-id-delete        Delete a service ID
  • Commands under iam namespace to manage service API keys
   service-api-keys         List all service API keys
   service-api-key          List details of a service API key
   service-api-key-create   Create a service API key
   service-api-key-update   Update a service API key
   service-api-key-delete   Delete a service API key
  • Commands under resource namespace to manage resource groups
   groups            List resource groups
   group             Show details of a resource group
   group-update      Update an existing resource group
  • Commands under catalog namespace to operate resource catalog
   search                    Search catalog entries
   entry                     Get a catalog entry
   entry-create              Create a new catalog entry(catalog admin of an account only)
   entry-update              Update an existing catalog entry(catalog admin or editor of an account only)
   entry-visibility          Get the visibility for a catalog entry(catalog admin of an account only)
   entry-visibility-set      Update the visibility of an existing catalog entry(catalog admin of an account only)
   entry-delete              Delete a catalog entry(catalog admin of an account only)
  • Commands under resource namespace to list resource quotas
   quotas            List all quota definitions
   quota             Show details of a quota definition
  • Commands under resource namespace to manage resource instances
   instances         List resource instances
   instance          Show details of a resource instance
   instance-create   Create a resource instance
   instance-update   Update resource instance
   instance-delete   Delete resource instance
  • Commands under resource namespace to manage resource keys
   key-create        Create a resource key
   keys              List resource keys of resource instance or resource alias
   key               Show details of a resource key
   key-delete        Delete a resource key
  • Commands under resource namespace to manage resource aliases
   aliases           List aliases for a resource instance
   alias             Show details of a resource alias
   alias-create      Create an alias of a resource instance
   alias-update      Update an resource alias
   alias-delete      Delete a resource alias
  • Commands under resource namespace to manage resource bindings
   bindings          Show bindings to the resource alias
   binding           Show details of a resource binding
   binding-create    Create a resource binding
   binding-delete    Delete a resource binding
  • Commands under sl loadbal namespace to manage Softlayer load balancer
   cancel            Cancel an existing load balancer
   create            Adds a load balancer given the id returned from create-options
   create-options    Get price options to create a load balancer with
   detail            Get Load balancer details
   group-add         Adds a new load_balancer service
   group-delete      Deletes an existing load balancer service group
   group-edit        Edit an existing load balancer service group
   group-reset       Reset connections on a certain service group
   health-checks     List health check types
   list              List active load balancers
   routing-methods   List routing methods
   routing-types     List routing types
   service-add       Adds a new load balancer service
   service-delete    Deletes an existing load balancer service
   service-edit      Edit the properties of a service group
   service-toggle    Toggle the status of an existing load balancer service

Updated commands

  • Add prerequisite check for commands under app, account, iam, billing, security, and service namespaces
  • bx api shows current public regions and api endpoint if no api is set
  • bx login shows current public regions and api endpoint for user to select if api is not set or specified
  • iam oauth-tokens falls back to UAA server to refresh token when iam is not available in the targeted Bluemix environment
  • Provide public region endpoint as options in login
  • Update usage description of iam account-user-invite command, org manager is not allowed to execute this command
  • Make plugin name case insensitive when install/remove plugin

Defect fixing

  • Wrong description of -p option in app domain-cert-add command

v0.5.6

15 Aug 09:07
Compare
Choose a tag to compare

This version is deprecated. Install the latest release.

Change logs

Remove org and space selection during logging in

Starting from this release, org and space selection is removed from the interactive flow of login command. While the user still can specify the org/space with -o and -s to target the org/space when logging in.

Plugin installation experience improvements

This release incorporates various changes in the plugin management and installation, including being able to install a plugin from Bluemix official repository without specifying the repository, adding progress indicator when downloading a plugin, as well as showing the status of the plugin when listing plugins in the repository.

CLIs for Softlayer file storage, ipsec and CDN

This release adds the command lines to manage Softlayer file storage service, ipsec VPN and CDN service.

New commands

  • plugin repo-plugin to show the details of a plugin in the repo
  • sl file to manage softlayer file storage
   access-authorize    Authorize hosts to access a given volume
   access-list         List ACLs
   access-revoke       Revoke authorization for hosts accessing a given volume
   replica-failback    Failback a file volume from replica
   replica-failover    Failover a file volume to the given replica volume
   replica-locations   List suitable replication datacenters for the given volume
   replica-order       Order a file storage replica volume
   replica-partners    List existing replicant volumes for a file volume
   snapshot-cancel     Cancel existing snapshot space for a given volume
   snapshot-create     Create a snapshot on a given volume
   snapshot-disable    Disable snapshots on the specified schedule for a given volume
   snapshot-enable     Enable snapshots for a given volume on the specified schedule
   snapshot-delete     Delete a snapshot on a given volume
   snapshot-list       List file storage snapshots
   snapshot-order      Order snapshot space for a file storage volume
   snapshot-restore    Restore file volume using a given snapshot
   volume-cancel       Cancel an existing file storage volume
   volume-list         List file storage
   volume-detail       Display details for a specified volume
   volume-duplicate    Order a file volume by duplicating an existing volume
   volume-order        Order a file storage volume
   volume-options      List all options for ordering a file storage
  • sl ipsec to manage softlayer ipsec VPN
   cancel               Cancel a IPSec VPN tunnel context
   config               Request configuration of a tunnel context
   detail               List IPSec VPN tunnel context details
   list                 List IPSec VPN tunnel contexts
   order                Order a IPSec VPN tunnel
   subnet-add           Add a subnet to an IPSec tunnel context
   subnet-remove        Remove a subnet from an IPSEC tunnel context
   translation-add      Add an address translation to an IPSec tunnel
   translation-remove   Remove a translation entry from an IPSec
   translation-update   Update an address translation for an IPSec
   update               Update tunnel context properties
  • sl cdn to manage Softlayer CDN service
   cancel          Cancel a CDN account
   detail          Detail a CDN Account
   list            List all CDN accounts
   load            Cache one or more files on all edge nodes
   order           Order a CDN account
   options         Bandwidth and storage options for ordering CDN account
   origin-add      Create an origin pull mapping
   origin-list     List origin pull mappings
   origin-remove   Remove an origin pull mapping
   purge           Purge cached files from all edge nodes

Updated commands

  • login does not select and target org / space if '-o' and '-s' are not specified
  • login add tips to use bx cf <command> to invoke cf cli with Bluemix cli context
  • target adds '--cf' to select org / space interactively
  • 'plugin install has the following changes
    • searches the plugin locally and then from the Bluemix official plugin repository if '-r' is not specified
    • displays a progress indicator when downloading a plugin binary
  • plugin uninstall resumes uninstallation if it cannot remove the plugin binary
  • plugin repo-add now returns with exit code 0 when attempting to add a plugin repo that is already registered
  • plugin repo-plugins now displays plugin's status (update available, installed, not installed)
  • iam account-user-delete introduces '-c' option to specify a target account and '-f' option to delete without user confirmation
  • cf introduces '--quiet' / '-q' option to to turn off message 'Invoking cf ...'
  • iam org-create checks whether the user is account owner before creating the org

Defect fixing

  • cf help -a does not show all the command help
  • iam space-roles: nil pointer error when selecting an invalid org
  • app domain-cert-add: incorrect help description regarding the password

v0.5.5

04 Jul 08:43
Compare
Choose a tag to compare

This version is deprecated. Install the latest release.

Change logs

Support global console endpoint

This release starts to use global console endpoint https://console.bluemix.net to access the Bluemix console APIs no matter which region the user is targeting.

Introduce storage-as-a-service in Softlayer block service

This new storage offering gives SoftLayer users more choice, flexibility, and control over their storage type, speed, and durability, to optimize their cloud infrastructure’s performance and cost.

New Commands

  • plugin show command shows details of a plugin, including plugin name, plugin version, minimal CLI version, and commands brief.
  • sl block volume-duplicate orders a volume by duplicating an existing volume
  • sl block replica-locations shows suitable data centers for taking replica of a volume
  • sl block replica-partners lists replicant volumes for a block volume

Updated Commands

  • info command has the following changes
    • shows Console endpoint
    • uses UAA endpoint instead of Token endpoint
    • uses Authentication endpoint instead of Authorization endpoint. It shows IAM endpoint when IAM service is available, otherwise it shows UAA endpoint.
    • removes VM endpoint and Container endpoint
  • sl block volume-order now uses storage-as-a-service
  • sl block snapshot-order now supports performance volume
  • sl block replica-order now supports performance volume

Removed Commands

  • curl command is removed since Bluemix has different API endpoints and type of tokens for different services

Fixed defects

  • loggergator endpoint is missing in config( backward compatibility issue)
  • panic when collecting version of embedded CF CLI
  • incorrect usage description of 'plugin update' command
  • NPE in plugin update command
  • several i18n issues
  • error when there is a trailing slash in API endpoint
  • infinite loop issue of iam api-keys command when there are more than 20 API keys.
  • regression that 'Accept-Language' header is not set

Upgraded dependencies

  • upgrade embedded CF CLI to version 6.26.0
  • upgrade to Go 1.8.3

v0.5.4

14 Jun 10:09
Compare
Choose a tag to compare

This version is deprecated. Install the latest release.

Change logs

Fixed defects

  • Command line parsing error under Windows Powershell
  • Error in fetching account list under some Bluemix environments

v0.5.3

14 Jun 10:08
Compare
Choose a tag to compare

This version is deprecated. Install the latest release.

Change logs

New commands

  • Add back 'app scale' command

Updated commands

  • Show linked IMS account during login and account switching
  • Support 'plugin update --all' to update all available plugins

Support mutlipel level namespaces for commands

Support IMS account and SSO for Softlayer commands

Upgrade to Go 1.8.1

Fixed defects

  • nil pointer error if request timeout
  • 'api --skip-ssl-validation' not working

v0.5.2

14 Jun 10:05
Compare
Choose a tag to compare

This version is deprecated. Install the latest release.

Change logs

Updated commands

  • Rebase 'account-users', 'account-user-invite', 'account-user-reinvite', and 'account-user-delete' commands on latest backend API
  • 'BLUEMIX_API_KEY' will be used only if -u, --sso, or --apikey is not specified

'Bluemix' repo cannot be removed

Upgrade to Go 1.8

Fixed defects

  • A compatibility issue with Kubernetes CLI
  • 'cf' namespace not listed
  • Strange behavior between CLI and plugins when Ctrl+C is pressed
  • A few i18n issues

v0.5.1

14 Jun 10:02
Compare
Choose a tag to compare

This version is deprecated. Install the latest release.

Change logs

Updated commands

  • Add '--sso' support of 'login' command for IAM token service
  • Add '--sso' description in 'login' command usage and flags
  • Improve error handling when logging through username/password but the user ID is a federated ID

Support environment variable 'BLUEMIX_API_KEY' to specify the API key to use when executing 'login' command

Fixed defects

  • Fix a defect in 'sl vlan detail' command