{"_id":"node-credstasher","_rev":"8-772141b7683edd57de110e232a684d30","name":"node-credstasher","dist-tags":{"latest":"1.0.4"},"versions":{"0.0.1":{"name":"node-credstasher","version":"0.0.1","keywords":["credstash","aws","kms","dynamodb","secrets","encryption","typescript","cli"],"author":"Andrew Meyer <andrew@rewdy.com>","license":"MIT","_id":"node-credstasher@0.0.1","maintainers":[{"name":"rewdy","email":"andrew@rewdy.com"}],"homepage":"https://github.com/rewdy/node-credstasher","bin":{"credstasher":"dist/commands.cjs","node-credstasher":"dist/commands.cjs"},"dist":{"shasum":"53c6f4a1ea018a3e0f988c6fcf39ad642328b66d","tarball":"https://registry.npmjs.org/node-credstasher/-/node-credstasher-0.0.1.tgz","fileCount":11,"integrity":"sha512-k5DL4+RHbBCgMq99HOhLJ3ergXs9p0Ma9Cu7255AI9qolx2YvCsfo7fuK4vIKnWVOlvPtwEA3NFJqOsZ2ZoSzA==","signatures":[{"sig":"MEUCIBoW25jGVIxx3RyODiMWDqhtcEcNRHxAwaPCDcD2OWBuAiEAxSeNmg2PdykmX5gx+AkbTIQImltlrgENTW9c9Fvf40Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":769696},"type":"module","module":"dist/index.js","shasum":"53c6f4a1ea018a3e0f988c6fcf39ad642328b66d","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"cli":"bun run ./src/commands.ts","lint":"biome lint .","test":"bun run test:lib && bun run test:cli","build":"bun run build:lib && bun run build:cli","check":"biome check .","clean":"rm -rf dist cli credstash.log","format":"biome format . --write","example":"bun run example.ts","lint:fix":"biome lint . --write","test:cli":"./tests/commands.test.sh","test:lib":"bun test","build:cli":"bun build ./src/commands.ts --outfile=cli/commands.cjs --target=node --format=cjs --external:aws-sdk,commander,crypto,aes-js --minify","build:lib":"rslib build","check:fix":"biome check . --write","preflight":"bun run typecheck && bun run check","typecheck":"tsc --noEmit --strict","local:stop":"docker-compose down","test:local":"bun test test-local.ts","test:watch":"bun test --watch","local:start":"docker-compose up -d","format:check":"biome format ."},"_npmUser":{"name":"rewdy","email":"andrew@rewdy.com"},"_integrity":"sha512-k5DL4+RHbBCgMq99HOhLJ3ergXs9p0Ma9Cu7255AI9qolx2YvCsfo7fuK4vIKnWVOlvPtwEA3NFJqOsZ2ZoSzA==","_npmVersion":"10.8.3","description":"A TypeScript implementation of credstash for storing and retrieving secrets using AWS KMS and DynamoDB.","directories":{},"_nodeVersion":"22.6.0","dependencies":{"aes-js":"^3.1.2","aws-sdk":"2.1692.0","@aws-sdk/client-kms":"3.844.0","@aws-sdk/lib-dynamodb":"3.844.0","@aws-sdk/client-dynamodb":"3.844.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"crypto":"1.0.1","commander":"^14.0.0","@types/bun":"latest","typescript":"^5","@rslib/core":"^0.10.5","@types/node":"24.0.13","@types/aes-js":"^3.1.4","@biomejs/biome":"^2.1.1","aws-sdk-client-mock":"^4.1.0"},"_npmOperationalInternal":{"tmp":"tmp/node-credstasher_0.0.1_1752285378130_0.8136564305852927","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"node-credstasher","version":"0.0.2","keywords":["credstash","aws","kms","dynamodb","secrets","encryption","typescript","cli"],"author":"Andrew Meyer <andrew@rewdy.com>","license":"MIT","_id":"node-credstasher@0.0.2","maintainers":[{"name":"rewdy","email":"andrew@rewdy.com"}],"homepage":"https://github.com/rewdy/node-credstasher","bin":{"credstasher":"cli/commands.cjs","node-credstasher":"cli/commands.cjs"},"dist":{"shasum":"da01e6b068186ee1749a39aad06db44d28ab3f6e","tarball":"https://registry.npmjs.org/node-credstasher/-/node-credstasher-0.0.2.tgz","fileCount":11,"integrity":"sha512-28TiSFJzCvSXJDYsJOWzD8YgFCzJrL9UgxIjP8aspSP0A0YQMyfsjK0Tg9u/WwHajgHhm3hrdz6pIqlHrxSxcA==","signatures":[{"sig":"MEQCIF+uCY13/jtQ4t7twA3Onl593yIcE6YqiBAJ8tAqR82HAiA4LePponElH2eyygRSVhvk3d50Jv756wfdn8204Ky6GQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":769694},"type":"module","module":"dist/index.js","shasum":"da01e6b068186ee1749a39aad06db44d28ab3f6e","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"cli":"bun run ./src/commands.ts","lint":"biome lint .","test":"bun run test:lib && bun run test:cli","build":"bun run build:lib && bun run build:cli","check":"biome check .","clean":"rm -rf dist cli credstash.log","format":"biome format . --write","example":"bun run example.ts","lint:fix":"biome lint . --write","test:cli":"./tests/commands.test.sh","test:lib":"bun test","build:cli":"bun build ./src/commands.ts --outfile=cli/commands.cjs --target=node --format=cjs --external:aws-sdk,commander,crypto,aes-js --minify","build:lib":"rslib build","check:fix":"biome check . --write","preflight":"bun run typecheck && bun run check","typecheck":"tsc --noEmit --strict","local:stop":"docker-compose down","test:local":"bun test test-local.ts","test:watch":"bun test --watch","local:start":"docker-compose up -d","format:check":"biome format ."},"_npmUser":{"name":"rewdy","email":"andrew@rewdy.com"},"_integrity":"sha512-28TiSFJzCvSXJDYsJOWzD8YgFCzJrL9UgxIjP8aspSP0A0YQMyfsjK0Tg9u/WwHajgHhm3hrdz6pIqlHrxSxcA==","_npmVersion":"10.8.3","description":"A TypeScript implementation of credstash for storing and retrieving secrets using AWS KMS and DynamoDB.","directories":{},"_nodeVersion":"22.6.0","dependencies":{"aes-js":"^3.1.2","aws-sdk":"2.1692.0","@aws-sdk/client-kms":"3.844.0","@aws-sdk/lib-dynamodb":"3.844.0","@aws-sdk/client-dynamodb":"3.844.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"crypto":"1.0.1","commander":"^14.0.0","@types/bun":"latest","typescript":"^5","@rslib/core":"^0.10.5","@types/node":"24.0.13","@types/aes-js":"^3.1.4","@biomejs/biome":"^2.1.1","aws-sdk-client-mock":"^4.1.0"},"_npmOperationalInternal":{"tmp":"tmp/node-credstasher_0.0.2_1752285471002_0.38389131429048473","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"node-credstasher","version":"1.0.0","keywords":["credstash","aws","kms","dynamodb","secrets","encryption","typescript","cli"],"author":{"name":"Andrew Meyer","email":"andrew@rewdy.com"},"license":"MIT","_id":"node-credstasher@1.0.0","maintainers":[{"name":"rewdy","email":"andrew@rewdy.com"}],"homepage":"https://github.com/rewdy/node-credstasher","bin":{"credstasher":"cli/commands.cjs","node-credstasher":"cli/commands.cjs"},"dist":{"shasum":"19dc0461b3dcd5bb0e580efc88d80d5d5239a802","tarball":"https://registry.npmjs.org/node-credstasher/-/node-credstasher-1.0.0.tgz","fileCount":2,"integrity":"sha512-Ruxcu1XCjaJpIoxrDPGy2Gktv5wcp6RjIuvmLc0ak48dt971IE6vHbGB3kQ6aUeVadNmQrUUZTqK/qO5qvavVw==","signatures":[{"sig":"MEYCIQD2Sv30ozKalrBbr8GsszncDoC6fOCRo1Y1fYTz7CDFIQIhAOCKXZJLqjvCDTwCgGEmN34BA/KLav9xMUJEmbuCDMrD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7536},"type":"module","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"930569b40f0c39b42f665caea54377ecc4e70aba","scripts":{"cli":"bun run ./src/commands.ts","lint":"biome lint .","test":"bun run test:lib && bun run test:cli","build":"bun run build:lib && bun run build:cli","check":"biome check .","clean":"rm -rf dist cli credstash.log","format":"biome format . --write","example":"bun run example.ts","prepare":"husky","lint:fix":"biome lint . --write","test:cli":"./tests/commands.test.sh","test:lib":"bun test","build:cli":"bun build ./src/commands.ts --outfile=cli/commands.cjs --target=node --format=cjs --external:aws-sdk,commander,crypto,aes-js --minify","build:lib":"rslib build","check:fix":"biome check . --write","preflight":"bun run typecheck && bun run check","typecheck":"tsc --noEmit --strict","local:stop":"docker compose down","test:local":"bun test test-local.ts","test:watch":"bun test --watch","local:start":"docker compose up -d","format:check":"biome format ."},"_npmUser":{"name":"rewdy","email":"andrew@rewdy.com"},"commitlint":{"extends":["@commitlint/config-conventional"]},"_npmVersion":"10.9.3","description":"A TypeScript implementation of credstash for storing and retrieving secrets using AWS KMS and DynamoDB.","directories":{},"_nodeVersion":"20.19.3","dependencies":{"aes-js":"^3.1.2","aws-sdk":"2.1692.0","@aws-sdk/client-kms":"3.844.0","@aws-sdk/lib-dynamodb":"3.844.0","@aws-sdk/client-dynamodb":"3.844.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","crypto":"1.0.1","commander":"^14.0.0","@types/bun":"latest","typescript":"^5","@rslib/core":"^0.10.5","@types/node":"24.0.13","@types/aes-js":"^3.1.4","@biomejs/biome":"^2.1.1","@commitlint/cli":"^19.8.1","semantic-release":"^24.2.7","aws-sdk-client-mock":"^4.1.0","@semantic-release/git":"^10.0.1","@semantic-release/changelog":"^6.0.3","@commitlint/config-conventional":"^19.8.1"},"_npmOperationalInternal":{"tmp":"tmp/node-credstasher_1.0.0_1752525689821_0.07500684338148211","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"node-credstasher","version":"1.0.1","keywords":["credstash","aws","kms","dynamodb","secrets","encryption","typescript","cli"],"author":{"name":"Andrew Meyer","email":"andrew@rewdy.com"},"license":"MIT","_id":"node-credstasher@1.0.1","maintainers":[{"name":"rewdy","email":"andrew@rewdy.com"}],"homepage":"https://github.com/rewdy/node-credstasher","bin":{"credstasher":"cli/commands.cjs","node-credstasher":"cli/commands.cjs"},"dist":{"shasum":"b60423ea9551a75060421d189d697066ae65e08a","tarball":"https://registry.npmjs.org/node-credstasher/-/node-credstasher-1.0.1.tgz","fileCount":11,"integrity":"sha512-XdtGFGDrdkc+aufmLaBa90ifdCny74z7IDZEajyGgPyrJwQGm/AzBjiOrJmJdr1s9t8hmW52G8hFQOr1BbJl+g==","signatures":[{"sig":"MEQCIAlqWhKxuH8sbY7G3OaONqx6ojNoOn1ibBe2jimrL4o5AiBstOfuYdHXNNUdWGI8r6zRHjXgqeVtIrQqWDeYFylUAA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":770305},"type":"module","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"531eddc3b9366d6d5f0a2d444d675fb86b6b968f","scripts":{"cli":"bun run ./src/commands.ts","lint":"biome lint .","test":"bun run test:lib && bun run test:cli","build":"bun run build:lib && bun run build:cli","check":"biome check .","clean":"rm -rf dist cli credstash.log","format":"biome format . --write","example":"bun run example.ts","prepare":"husky","lint:fix":"biome lint . --write","test:cli":"./tests/commands.test.sh","test:lib":"bun test","build:cli":"bun build ./src/commands.ts --outfile=cli/commands.cjs --target=node --format=cjs --external:aws-sdk,commander,crypto,aes-js --minify","build:lib":"rslib build","check:fix":"biome check . --write","preflight":"bun run typecheck && bun run check","typecheck":"tsc --noEmit --strict","local:stop":"docker compose down","test:local":"bun test test-local.ts","test:watch":"bun test --watch","local:start":"docker compose up -d","format:check":"biome format ."},"_npmUser":{"name":"rewdy","email":"andrew@rewdy.com"},"commitlint":{"extends":["@commitlint/config-conventional"]},"_npmVersion":"10.9.3","description":"A TypeScript implementation of credstash for storing and retrieving secrets using AWS KMS and DynamoDB.","directories":{},"_nodeVersion":"20.19.3","dependencies":{"aes-js":"^3.1.2","aws-sdk":"2.1692.0","@aws-sdk/client-kms":"3.844.0","@aws-sdk/lib-dynamodb":"3.844.0","@aws-sdk/client-dynamodb":"3.844.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","crypto":"1.0.1","commander":"^14.0.0","@types/bun":"latest","typescript":"^5","@rslib/core":"^0.10.5","@types/node":"24.0.13","@types/aes-js":"^3.1.4","@biomejs/biome":"^2.1.1","@commitlint/cli":"^19.8.1","semantic-release":"^24.2.7","aws-sdk-client-mock":"^4.1.0","@semantic-release/git":"^10.0.1","@semantic-release/changelog":"^6.0.3","@commitlint/config-conventional":"^19.8.1"},"_npmOperationalInternal":{"tmp":"tmp/node-credstasher_1.0.1_1752527174536_0.8803350639576861","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"node-credstasher","version":"1.0.2","keywords":["credstash","aws","kms","dynamodb","secrets","encryption","typescript","cli"],"author":{"name":"Andrew Meyer","email":"andrew@rewdy.com"},"license":"MIT","_id":"node-credstasher@1.0.2","maintainers":[{"name":"rewdy","email":"andrew@rewdy.com"}],"homepage":"https://github.com/rewdy/node-credstasher","bin":{"credstasher":"cli/commands.cjs","node-credstasher":"cli/commands.cjs"},"dist":{"shasum":"8dfd30cce119d33a99e5628292b1d8b05c8de6d4","tarball":"https://registry.npmjs.org/node-credstasher/-/node-credstasher-1.0.2.tgz","fileCount":11,"integrity":"sha512-5TjMhkzlcb9FvrztOpnwl68fb0qbI60Wjc5NfTJBtCKDnjtgxMn4wFFmW99CtyUcxcpHxPbbi9FXZ2Hvkmsiaw==","signatures":[{"sig":"MEQCIEcMlOXeMW4i85jYvEVxBbovM7pWGMfN+H1m54o0J9GyAiBvupLJBnBM2hudZI3epy4hUaFEgZ14h9z0nlDi2nFrfQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":770725},"type":"module","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"547865fed1427735132847ed83b25baaa28be8c6","scripts":{"cli":"bun run ./src/commands.ts","lint":"biome lint .","test":"bun run test:lib && bun run test:cli","build":"bun run build:lib && bun run build:cli","check":"biome check .","clean":"rm -rf dist cli credstash.log","format":"biome format . --write","example":"bun run example.ts","prepare":"husky","lint:fix":"biome lint . --write","test:cli":"./tests/commands.test.sh","test:lib":"bun test","build:cli":"bun build ./src/commands.ts --outfile=cli/commands.cjs --target=node --format=cjs --external:aws-sdk,commander,crypto,aes-js --minify","build:lib":"rslib build","check:fix":"biome check . --write","preflight":"bun run typecheck && bun run check","typecheck":"tsc --noEmit --strict","local:stop":"docker compose down","test:local":"bun test test-local.ts","test:watch":"bun test --watch","local:start":"docker compose up -d","format:check":"biome format ."},"_npmUser":{"name":"rewdy","email":"andrew@rewdy.com"},"commitlint":{"extends":["@commitlint/config-conventional"]},"_npmVersion":"10.9.3","description":"A TypeScript implementation of credstash for storing and retrieving secrets using AWS KMS and DynamoDB.","directories":{},"_nodeVersion":"20.19.4","dependencies":{"aes-js":"^3.1.2","aws-sdk":"2.1692.0","@aws-sdk/client-kms":"3.844.0","@aws-sdk/lib-dynamodb":"3.844.0","@aws-sdk/client-dynamodb":"3.844.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","crypto":"1.0.1","commander":"^14.0.0","@types/bun":"latest","typescript":"^5","@rslib/core":"^0.10.5","@types/node":"24.0.13","@types/aes-js":"^3.1.4","@biomejs/biome":"^2.1.1","@commitlint/cli":"^19.8.1","semantic-release":"^24.2.7","aws-sdk-client-mock":"^4.1.0","@semantic-release/git":"^10.0.1","@semantic-release/changelog":"^6.0.3","@commitlint/config-conventional":"^19.8.1"},"_npmOperationalInternal":{"tmp":"tmp/node-credstasher_1.0.2_1754336035490_0.5349842321012965","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"node-credstasher","version":"1.0.3","keywords":["credstash","aws","kms","dynamodb","secrets","encryption","typescript","cli"],"author":{"name":"Andrew Meyer","email":"andrew@rewdy.com"},"license":"MIT","_id":"node-credstasher@1.0.3","maintainers":[{"name":"rewdy","email":"andrew@rewdy.com"}],"homepage":"https://github.com/rewdy/node-credstasher","bin":{"credstasher":"cli/commands.cjs","node-credstasher":"cli/commands.cjs"},"dist":{"shasum":"d5f113a00e7a145a89cb5e61446aee113c817acd","tarball":"https://registry.npmjs.org/node-credstasher/-/node-credstasher-1.0.3.tgz","fileCount":11,"integrity":"sha512-4/wg2He+jyr0l/OKbY8cKPv9nxttMtEEmcmPVoFDMOcg/2SESnyLqMN1l/KwOAHrFUWsrdPbTIqzhQabCVxpRg==","signatures":[{"sig":"MEQCIGg0uUysxvlYIFjoqBSh+3dfl0+80mo6TRtFQ8/fvtrFAiABlro1YVaKEgvyUjdEWD8xaJPYn2MaIhj3DSHxB69tRw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":771889},"type":"module","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"633e77b2e9f676ee346ee2da12b06622db88670d","scripts":{"cli":"bun run ./src/commands.ts","lint":"biome lint .","test":"bun run test:lib && bun run test:cli","build":"bun run build:lib && bun run build:cli","check":"biome check .","clean":"rm -rf dist cli credstash.log","format":"biome format . --write","example":"bun run example.ts","prepare":"husky","lint:fix":"biome lint . --write","test:cli":"./tests/commands.test.sh","test:lib":"bun test","build:cli":"bun build ./src/commands.ts --outfile=cli/commands.cjs --target=node --format=cjs --external:aws-sdk,commander,crypto,aes-js --minify","build:lib":"rslib build","check:fix":"biome check . --write","preflight":"bun run typecheck && bun run check","typecheck":"tsc --noEmit --strict","local:stop":"docker compose down","test:local":"bun test test-local.ts","test:watch":"bun test --watch","local:start":"docker compose up -d","format:check":"biome format ."},"_npmUser":{"name":"rewdy","email":"andrew@rewdy.com"},"commitlint":{"extends":["@commitlint/config-conventional"]},"_npmVersion":"10.9.3","description":"A TypeScript implementation of credstash for storing and retrieving secrets using AWS KMS and DynamoDB.","directories":{},"_nodeVersion":"20.19.4","dependencies":{"aes-js":"^3.1.2","aws-sdk":"2.1692.0","@aws-sdk/client-kms":"3.872.0","@aws-sdk/lib-dynamodb":"3.872.0","@aws-sdk/client-dynamodb":"3.872.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","crypto":"1.0.1","commander":"^14.0.0","@types/bun":"latest","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/node":"22.13.14","@types/aes-js":"^3.1.4","@biomejs/biome":"^2.2.0","@commitlint/cli":"^19.8.1","semantic-release":"^24.2.7","aws-sdk-client-mock":"^4.1.0","@semantic-release/git":"^10.0.1","@semantic-release/changelog":"^6.0.3","@commitlint/config-conventional":"^19.8.1"},"_npmOperationalInternal":{"tmp":"tmp/node-credstasher_1.0.3_1755784477329_0.7323191843379382","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"node-credstasher","version":"1.0.4","keywords":["credstash","aws","kms","dynamodb","secrets","encryption","typescript","cli"],"author":{"name":"Andrew Meyer","email":"andrew@rewdy.com"},"license":"MIT","_id":"node-credstasher@1.0.4","maintainers":[{"name":"rewdy","email":"andrew@rewdy.com"}],"homepage":"https://github.com/rewdy/node-credstasher","bin":{"credstasher":"cli/commands.cjs","node-credstasher":"cli/commands.cjs"},"dist":{"shasum":"010ab03443bf85d5a3b0c338cc7ab0593b3d1609","tarball":"https://registry.npmjs.org/node-credstasher/-/node-credstasher-1.0.4.tgz","fileCount":11,"integrity":"sha512-+ULFF0TOMEm5k22ifM1WdlcIo+KRS3387HOJrqKkS14+Is3cv3w0OdScxwxXb8006nhH1scmOSV+jvosdOteBw==","signatures":[{"sig":"MEUCICEgmFsVjEVpk7JUuimSqBOUOGKVatryxqS+krqhhY9/AiEA9sK2erbX7xudBy/r9H6Xml5ZtEkgxyA9Tvy4pKi4VfU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":771862},"type":"module","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"d589024f2f2a7a51bf70574c423e8a9b77952bf0","scripts":{"cli":"bun run ./src/commands.ts","lint":"biome lint .","test":"bun run test:lib && bun run test:cli","build":"bun run build:lib && bun run build:cli","check":"biome check .","clean":"rm -rf dist cli credstash.log","format":"biome format . --write","example":"bun run example.ts","prepare":"husky","lint:fix":"biome lint . --write","test:cli":"./tests/commands.test.sh","test:lib":"bun test","build:cli":"bun build ./src/commands.ts --outfile=cli/commands.cjs --target=node --format=cjs --external:aws-sdk,commander,crypto,aes-js --minify","build:lib":"rslib build","check:fix":"biome check . --write","preflight":"bun run typecheck && bun run check","typecheck":"tsc --noEmit --strict","local:stop":"docker compose down","test:local":"bun test test-local.ts","test:watch":"bun test --watch","local:start":"docker compose up -d","format:check":"biome format ."},"_npmUser":{"name":"rewdy","email":"andrew@rewdy.com"},"commitlint":{"extends":["@commitlint/config-conventional"]},"_npmVersion":"10.9.3","description":"A TypeScript implementation of credstash for storing and retrieving secrets using AWS KMS and DynamoDB.","directories":{},"_nodeVersion":"20.19.6","dependencies":{"aes-js":"^3.1.2","@aws-sdk/client-kms":"3.872.0","@aws-sdk/lib-dynamodb":"3.872.0","@aws-sdk/client-dynamodb":"3.872.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","crypto":"1.0.1","commander":"^14.0.0","@types/bun":"latest","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/node":"22.13.14","@types/aes-js":"^3.1.4","@biomejs/biome":"^2.2.0","@commitlint/cli":"^19.8.1","semantic-release":"^24.2.7","aws-sdk-client-mock":"^4.1.0","@semantic-release/git":"^10.0.1","@semantic-release/changelog":"^6.0.3","@commitlint/config-conventional":"^19.8.1"},"_npmOperationalInternal":{"tmp":"tmp/node-credstasher_1.0.4_1765476794232_0.661294043327382","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-07-12T01:56:17.958Z","modified":"2026-04-15T22:17:54.464Z","0.0.1":"2025-07-12T01:56:18.338Z","0.0.2":"2025-07-12T01:57:51.213Z","1.0.0":"2025-07-14T20:41:30.005Z","1.0.1":"2025-07-14T21:06:14.733Z","1.0.2":"2025-08-04T19:33:55.780Z","1.0.3":"2025-08-21T13:54:37.551Z","1.0.4":"2025-12-11T18:13:14.393Z"},"author":{"name":"Andrew Meyer","email":"andrew@rewdy.com"},"license":"MIT","homepage":"https://github.com/rewdy/node-credstasher","keywords":["credstash","aws","kms","dynamodb","secrets","encryption","typescript","cli"],"description":"A TypeScript implementation of credstash for storing and retrieving secrets using AWS KMS and DynamoDB.","maintainers":[{"email":"andrew@rewdy.com","name":"rewdym"}],"readme":"# node-credstasher\n\nA TypeScript implementation of the python [credstash](https://pypi.org/project/credstash/) for storing and retrieving secrets using AWS KMS and DynamoDB.\n\nThis code is based on the now defunct [node-credstash](https://github.com/rotaready/node-credstash) library, but has been updated to TypeScript with up-to-date dependencies.\n\n## Setup\n\nBefore using credstasher, you need to:\n\n1. Set up AWS credentials (AWS CLI, environment variables, or IAM roles)\n2. Create a KMS key or use an existing one\n3. Optionally create a DynamoDB table (the library _can_ create it for you, but it's better if you set up before)\n\n## CLI Usage\n\n### Install or not\n\nYou can install globally using the node package manager of your choice:\n\n```bash\nnpm install -g node-credstasher\n\n# or\n\npnpm add -g node-credstasher\n\n# or\n\nbun add -g node-credstasher\n```\n\nAfter it is installed, you should be able to run the following to show the docs:\n\n```bash\ncredstasher --help\n```\n\nYuu can also run using `npx`, `pnpx`, etc. downloading it to run on the fly. This is kind of nice.\n\n```bash\nnpx node-credstasher@latest --help\n\n# or\n\npnpx node-credstasher@latest --help\n\n# or\n\nbunx node-credstasher@latest --help\n```\n\n### Commands\n\n#### Setup the DynamoDB table\n\n⚠️ I don't recommend using this. Set up your table in a more managed way, probably. But, you _can_ do it this way if you like.\n\n```bash\ncredstasher setup\n```\n\n#### Store a secret\n\n```bash\ncredstasher put my-password \"supersecret123\"\n```\n\n### Retrieve a secret\n\n```bash\ncredstasher get my-password\n```\n\n### List all secrets\n\n```bash\ncredstasher list\n```\n\n### Delete a secret\n\n```bash\ncredstasher delete mypassword\n```\n\n### CLI Options\n\nGlobal options:\n\n- `-r, --region <region>`: AWS region (default: us-east-1)\n- `-t, --table <table>`: DynamoDB table name (default: credential-store)\n- `-k, --kms-key-id <keyId>`: KMS key ID or alias (default: alias/credstash)\n- `-p, --profile <profile>`: AWS profile (default: default)\n- `-d, --dynamodb-endpoint <endpoint>`: Custom endpoint URL for DynamoDB\n- `-e, --kms-endpoint <endpoint>`: Custom KMS endpoint URL\n\nCommand-specific options:\n\n- `put`:\n  - `-v, --key-version <version>`: Specific version number\n  - `-c, --context <context>`: Encryption context as JSON string\n  - `-a, --autoversion`: Automatically increment version\n- `get`:\n  - `-v, --key-version <version>`: Specific version number\n  - `-c, --context <context>`: Encryption context as JSON string\n  - `-n, --noline`: Don't append newline to output\n- `delete`:\n  - `-v, --key-version <version>`: Specific version number\n  - `-a, --all`: Delete all versions\n\n## Library Usage\n\n### Install\n\nInstall with your favorite package manager:\n\n```bash\nnpm install node-credstasher\n\n# or\n\npnpm add node-credstasher\n\n# or\n\nbun add node-credstasher\n```\n\n### Example\n\n```typescript\nimport { CredstashClient } from 'node-credstasher';\n\nconst client = new CredstashClient({\n  region: 'us-east-1',\n  table: 'my-secrets',\n  kmsKeyId: 'alias/my-key'\n});\n\n// Store a secret\nawait client.putSecret('database-password', 'my-secret-password');\n\n// Retrieve a secret\nconst password = await client.getSecret('database-password');\n\n// List all secrets\nconst secrets = await client.listSecrets();\n\n// Delete a secret\nawait client.deleteSecret('database-password');\n```\n\n### Configuration\n\nThe `CredstashClient` accepts the following configuration options:\n\n- `region`: AWS region (defaults to AWS_REGION env var or 'us-east-1')\n- `kmsRegion`: AWS region for KMS, defaults to `region` value.\n- `table`: DynamoDB table name (defaults to CREDSTASH_TABLE env var or 'credential-store')\n- `kmsKeyId`: KMS key ID or alias (defaults to CREDSTASH_KMS_KEY_ID env var or 'alias/credstash')\n- `profile`: AWS profile (defaults to AWS_PROFILE env var or 'default')\n- `dynamodbEndpoint`: Custom endpoint URL for dynamodb\n- `kmsEndpoint`: Custom endpoint URL for KMS\n\n### Environment Variables\n\n- `AWS_REGION`: Default AWS region\n- `KMS_REGION`: Default AWS region for KMS\n- `CREDSTASH_TABLE`: Default DynamoDB table name\n- `CREDSTASH_KMS_KEY_ID`: Default KMS key ID\n- `AWS_PROFILE`: Default AWS profile\n- `DYNAMODB_ENDPOINT`: Custom endpoint URL for dynamodb\n- `KMS_ENDPOINT`: Custom endpoint URL for KMS\n\n## Development\n\n### Build\n\n```bash\nbun run build\n```\n\n### Format and Lint\n\n```bash\nbun run format\nbun run lint\n```\n\n### Check\n\n```bash\nbun run check\n```\n\n### Tests\n\nSee [LOCAL_TESTING.md](./LOCAL_TESTING.md).\n\n## Security Features\n\n- Uses AWS KMS for key encryption/decryption\n- Stores encrypted data in DynamoDB\n- Supports encryption context for additional security\n- Uses AES-256-GCM for symmetric encryption\n- Includes HMAC verification for data integrity\n- Supports versioning of secrets\n\n## License\n\nMIT\n\nThis project was created using `bun init` in bun v1.2.7. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.\n","readmeFilename":"README.md"}