Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: read iam client id and secret from environment variables #30

Merged
merged 2 commits into from
Jun 23, 2019

Conversation

dpopp07
Copy link
Member

@dpopp07 dpopp07 commented Jun 22, 2019

When the IAM Client ID and Secret parameters were added, I forgot to include them in the getServiceCredentials and getCredentialsFromEnvironment methods. They should be included here so they can be specified as environment variables like any other credential parameter.

@dpopp07 dpopp07 requested review from esminerva and padamstx June 22, 2019 17:21
@codecov
Copy link

codecov bot commented Jun 22, 2019

Codecov Report

Merging #30 into master will increase coverage by 0.07%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
+ Coverage   93.28%   93.35%   +0.07%     
==========================================
  Files          12       12              
  Lines         506      512       +6     
  Branches      147      151       +4     
==========================================
+ Hits          472      478       +6     
  Misses         33       33              
  Partials        1        1
Impacted Files Coverage Δ
lib/base_service.ts 92.61% <100%> (+0.3%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 018c075...704f55e. Read the comment docs.

Copy link
Member

@padamstx padamstx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dpopp07 dpopp07 merged commit 2247d0a into master Jun 23, 2019
@dpopp07 dpopp07 deleted the missing-iam-creds branch June 23, 2019 20:03
ibm-devx-automation pushed a commit that referenced this pull request Jun 23, 2019
## [0.3.2](v0.3.1...v0.3.2) (2019-06-23)

### Bug Fixes

* read iam client id and secret from environment variables ([#30](#30)) ([2247d0a](2247d0a))
@ibm-devx-automation
Copy link

🎉 This PR is included in version 0.3.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants