Fix Node deprecations and dynamic secret key extraction - #28
Merged
baraka-akeyless merged 2 commits intoJul 21, 2026
Conversation
Replace aws-sdk v2 (via akeyless-cloud-id) with AWS SDK v3 credential providers, move CI to Node 24, and allow key extraction from object-shaped dynamic secret responses so output-name works for GitHub tokens. Co-authored-by: Cursor <cursoragent@cursor.com>
Override akeyless' superagent to v10 (WHATWG URL) and replace aws4 with Smithy SignatureV4 so Node DEP0169 is no longer emitted on auth/API calls. Co-authored-by: Cursor <cursoragent@cursor.com>
omriezra
approved these changes
Jul 21, 2026
stanislav-akeyless
approved these changes
Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
akeyless-cloud-id/ AWS SDK v2 with a local cloud-id helper using AWS SDK v3 credential providers +aws4, and move CI/workflows to Node 24 /actions/checkout@v5/setup-node@v5.keyextraction for object-shaped API responses (e.g. GitHub DS{ "token": "..." }) sooutput-name+key: tokenworks instead of failing withFailed to export dynamic secret.v1.1.7.Dynamic secrets usage (after this fix)
That exports just the token string under
TOKEN.Note: with
parse-json-secrets: trueand nokey, fields are still expanded with a path/prefix-json-secretsprefix (same as static secrets);output-nameapplies when exporting a single value (with or withoutkey).Test plan
npm test(32 tests, including new dynamic-secret object/keycases)npm run packagerebuiltdist/key: tokenandoutput-name: TOKEN, confirmAuthorization: Bearer $TOKENworksMade with Cursor