Skip to content

Conversation

@Rishi-web
Copy link
Contributor

W.r.t issue - https://github.ibm.com/kms/kmk/issues/945
Key alias extension is tested for wrap/unwrap/delete key via nodejs SDK and a sample code for the same is updated in README.md file.

@codecov
Copy link

codecov bot commented Jan 27, 2022

Codecov Report

Merging #15 (bf1d8f6) into master (c4f708a) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #15   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          416       416           
  Branches        59        59           
=========================================
  Hits           416       416           

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 c4f708a...bf1d8f6. Read the comment docs.

@Rishi-web Rishi-web changed the title Update: Readme with key alias extension use cases Update: Readme/Integration test case with key alias extension use cases Jan 31, 2022
@Rishi-web
Copy link
Contributor Author

Screenshot 2022-01-31 at 11 19 25 AM

@Rishi-web
Copy link
Contributor Author

Screenshot 2022-02-01 at 10 44 25 AM


// wrap using key alias
const wrapKeyParams = Object.assign({}, options);
wrapKeyParams.id = createKeyAliasParams.alias;

Choose a reason for hiding this comment

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

We should not be setting alias to id.. instead, we should be able to set alias in input and perform the key action


// un-wrap using key alias
const unwrapKeyParams = Object.assign({}, options);
unwrapKeyParams.id = createKeyAliasParams.alias;

Choose a reason for hiding this comment

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

We should not be setting alias to id.. instead, we should be able to set alias in input and perform the key action


// delete a key using key alias
const deleteKeyParams = Object.assign({}, options);
deleteKeyParams.id = createKeyAliasParams.alias;

Choose a reason for hiding this comment

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

We should not be setting alias to id.. instead, we should be able to set alias in input and perform the key action

@codecov-commenter
Copy link

codecov-commenter commented Jul 5, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (c4f708a) to head (bf1d8f6).
⚠️ Report is 31 commits behind head on master.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #15   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          416       416           
  Branches        59        59           
=========================================
  Hits           416       416           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants