IBM Cloud - Structured Ideas

Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Post your ideas

Start by posting ideas and requests to enhance a product or service. Take a look at ideas others have posted and vote them if they matter to you

  1. Post an idea

  2. Vote ideas that matter most to you

  3. Get feedback from the IBM team to refine your idea

Help IBM prioritize your ideas and requests

The IBM team may need your help to refine the ideas so they may ask for more information or feedback. The offering manager team will then decide if they can begin working on your idea. If they can start during the next development cycle, they will put the idea on the priority list. Each team at IBM works on a different schedule, where some ideas can be implemented right away, others may be placed on a different schedule.

Receive notifications on the decision

Some ideas can be implemented at IBM, while others may not fit within the development plans for the product. In either case, the team will let you know as soon as possible. In some cases, we may be able to find alternatives for ideas which cannot be implemented in a reasonable time.

NOTE: All IBM employees must enter Ideas through this Ideas Portal.

IBM Cloud Shell API

IBM Cloud Shell API needs to exist! I want to be able to run commands for my command that are best run through the cli. Imagine if I have an application that can make API calls to cloud shell to run those commands on my account instead of having to rely on a Docker file with linux ibmcloud cli installed.

**EDIT: added more info

  • Guest
  • Jul 8 2021
  • In Plan
  • Admin
    GILLY DEKEL commented
    16 Jul 12:22pm

    Thank you so much for providing all of this detail, it is super helpful. I will send this on to the CLI product team to review and they will get back to you with an answer.

  • Guest commented
    15 Jul 08:26pm

    @Gilly Dekel

    Hi Gilly

    For the most part, calling the API directly is the solution. However there are limitations. For example, APIs are defined called by an API key. Our use case need came about because our org is using IBM Enterprise. We are creating IBM Sub-accounts.

    In our automation, the big problem was that we used one API key to call the enterprise api to create sub-account but then we needed the sub-accounts api to call schematics api to stand up environments from TF file.

    The problem was there exists no API to achieve this, you need an API call on an account to interact with it programmatically.

    After consulting IBM Architects and Federation team, we were advised, the only way to create new api-keys for new sub-accounts is through the CLI.

    In order to generate a new api key on a sub-account during automated account creation, we created a docker image that logs onto the cli, into the default account and then switches to the target account using ibmcloud target -c subaccountid

    Then we have the ibmcloud cli generate a new apikey and we retrieve its value and send it back to our provisioning system through a Flask endpoint.

    ibmcloud iam api-key-create NAME --output JSON

    Our biggest need was to use ibm cloud shell in any way to simply execute this. It was not possible when I evaluated it.

    If we would have this feature, we hope it works something like this

    Enterprise user creates sub-account using the apikey

    Enterprise user uses same apikey to interact with cloud shell api to then pass in commands, like ibmcloud target -c subaccountidhere and get subaccount apikey or other values.

    ibmcloud cli is also useful for info that current apis don't provide like IMS id, no api we know gets this info, we got it again using ibmcloud account show

    ibmcloud account show --output JSON

    Our docker solution was very helpful but many instances we wished to run even bash scripts and we looked at code platforms and had to bring our own docker image solution through code engine and using os library on functions, but this can all be avoided if we could just use the cloud shell and pass in linux terminal commands to either store and load a bash script and execute it and gets output through cloudshell api and retrieve it using api. That would be wonderful as cloud shell is already integrated onto the ibmcloud account.

  • Admin
    GILLY DEKEL commented
    14 Jul 04:58pm

    We didn't fully understand the use case here - are you asking to have an API for the CLI to call the API ? wouldn't it be easier to call the API directly ?

By clicking the "Post Comment" or "Submit Idea" button, you are agreeing to the IBM Ideas Portal Terms of Use.
Do not place IBM confidential, company confidential, or personal information into any field.