Support reading IAM token from environment variable

Open
#360 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go

Research direction

Start by tracing how the ibmcloud CLI reads IAM tokens and ~/.bluemix/config.json. Inspect the authentication path for the proposed IBMCLOUD_IAM_TOKEN input, then verify that a short-lived token can be used without being persisted in config.json.

Written by the indexing model from the issue text.

Description

We're working on a 1Password Shell Plugin for the ibmcloud CLI, which would add Touch ID authentication for ibmcloud without having secrets on disk.

To fulfill that promise, all we'd need is for ibmcloud to support reading the (short-lived) IAM token from an environment variable, e.g. IBMCLOUD_IAM_TOKEN, so that the ~/.bluemix/config.json file can stay free of secrets.

Dominant language
Go
Stars
35
Forks
53
Avg merge
1d 15h
Merged PRs (30d)
16

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from IBM-Cloud/ibm-cloud-cli-sdk

All issues in IBM-Cloud/ibm-cloud-cli-sdk

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.