{"_id":"fastify-secrets-core","_rev":"69-f0a13d22a1fde28c848bc3f32e00614e","name":"fastify-secrets-core","dist-tags":{"latest":"4.0.0"},"versions":{"0.0.1":{"name":"fastify-secrets-core","version":"0.0.1","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-core@0.0.1","maintainers":[{"name":"paolochiodi","email":"chiodi84@gmail.com"}],"homepage":"https://github.com/nearform/fastify-secrets-core#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-core/issues"},"dist":{"shasum":"9ff033bdf91f20e609f964a8b868a2efd1771bd8","tarball":"https://registry.npmjs.org/fastify-secrets-core/-/fastify-secrets-core-0.0.1.tgz","fileCount":11,"integrity":"sha512-LZLd/HuznNlFr+n8abwbp44b+0G40Z+X24Jts+fw4BvpomlHpuJIWz9TO3/1YAg5GgTn/FYAd9rkeYFrmPUMyg==","signatures":[{"sig":"MEQCIANmgZYkHjwOM3R7Ix4TVWTA5Qa8sLTGPqkb09jCwQ45AiBmn3Gl9F+S4UJS5XxuvmvUtnjb76NVTIvwT0ahhIy6Xg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjp9SCRA9TVsSAnZWagAAeGkP/2FUmtqPqhsbpXSXJ/CM\nsfRGOqM2uAcH+N1ST8xoxFS20ihD1nyQNUZWqFpwr326D1w0eX8PeKDueNKv\nEEZzL3e7a3m8Mbadt4C5m+BoZ8SOXippdNAO1cGzrpjdc1S/Ibs/YdVEJqiW\ntKdqCxnZmoFDnsz7iHiBjy+jHV78lAxntsN+d4HHwDNyXEL9FR9DG86QexA3\n1bWsM9MUs9Up31qSK5lt7wlOdJadLiEStVCzY2gf+hFpNqzrBTD+0G50W8/O\nu4zFu83xY/MeLis1U+6v+CuO6YuwxyMYhSiWM8HY/VRG3+1eo21fs6S0mgHd\nk6zUkg56uGmwPaJOF32za1E1oFAtQLWCDc78WiuA05zSf2/c+1+gLjw0FM0k\n7pyqt1Kk5j/zNhfJfiqf/iNLV66SCgTUsNVbTssjW98z73YjsCHff9ebdLHx\nmiq0Zd1pc4Zx7TfJyby9cVM0LY+EenOQAe9VZl79JiuNwMigSyNDCMyNo2vg\nTlgHENt75kViXEZfLoQ2tFSrUQXE3BJCkqSW5l4YHEtDcxzdC45DpI6bNVWC\nIEqjj6TDzbl3ZM2RgLFY9gyxTUiuBpBmhVsgopKiDLs3B0ovGaFnVsG/MvF5\nytvZo6Sndip+2DLyd0GRwpgAkyaZuOtIQNRDeKS9UchjJ6Pe355cXu6whZ/A\nfBZj\r\n=Z44V\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/fastify-secrets-core.js","husky":{"hooks":{"pre-push":"npm run lint && npm run test","pre-commit":"npm run lint:staged"}},"engines":{"node":">= 12.13.0"},"gitHead":"3085248c455247e6ee643e44ea876f14be5c8cb4","scripts":{"lint":"eslint lib/**/*.js test/**/*.js","test":"tap --reporter=spec --coverage-report=html --coverage-report=text --100 --no-browser test/*.test.js test/**/*.test.js","test:ci":"tap --no-color --reporter=spec --coverage-report=json --coverage-report=text --100 test/*.test.js test/**/*.test.js","lint:fix":"npm run lint -- --fix","lint:staged":"lint-staged"},"_npmUser":{"name":"paolochiodi","email":"chiodi84@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-secrets-core.git","type":"git"},"_npmVersion":"6.14.5","description":"Simplify development of fastify-secrets plugins","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"14.5.0","dependencies":{"p-props":"^4.0.0","fastify-plugin":"^2.3.4"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^14.10.8","husky":"^4.3.0","sinon":"^9.2.0","eslint":"^7.11.0","prettier":"^2.1.2","proxyquire":"^2.1.3","lint-staged":"^10.4.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-prettier":"^6.12.0","eslint-config-standard":"^14.1.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/fastify-secrets-core_0.0.1_1603182417872_0.028283481026592172","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"fastify-secrets-core","version":"1.0.0","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-core@1.0.0","maintainers":[{"name":"paolochiodi","email":"chiodi84@gmail.com"},{"name":"dublx","email":"luis.faustino@gmail.com"},{"name":"irelandm","email":"mark.ireland@nearform.com"},{"name":"zimny","email":"piotr.zimoch@cloudaemons.com"},{"name":"fiacc","email":"fiaccobm@gmail.com"},{"name":"ovhemert","email":"hello@ovhemert.dev"},{"name":"ckiss","email":"kissdevel@gmail.com"},{"name":"admataz","email":"adam@admataz.com"},{"name":"chrisdwheatley","email":"chriswheatley87@gmail.com"},{"name":"lpww","email":"thomas.treffry@nearform.com"},{"name":"jackdclark","email":"jack@jackdc.com"},{"name":"joezo","email":"joezo156@googlemail.com"},{"name":"donovanhutchinson","email":"donovan.hutchinson@nearform.com"},{"name":"iamsw","email":"sjwilson89@gmail.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"alan.slater","email":"alan.slater@nearform.com"},{"name":"davidefiorello","email":"davide@codeflyer.com"},{"name":"filippo.desantis","email":"filippo.desantis@gmail.com"},{"name":"jimmymintzer","email":"jimmymintzer@gmail.com"},{"name":"cianfoley_nearform","email":"cian.foley@nearform.com"},{"name":"mattrobinson","email":"matt.robinson@nearform.com"},{"name":"shogun_panda","email":"paolo@cowtech.it"},{"name":"shaunjbaker","email":"shaun@schb.co.uk"},{"name":"nearformer","email":"david.clements@nearform.com"},{"name":"davidmarkclements","email":"david.mark.clements@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"damianberesford","email":"dberesford@gmail.com"},{"name":"conoro","email":"conor@conoroneill.com"},{"name":"mcdonnelldean","email":"mcdonnelldean@outlook.com"},{"name":"jasnell","email":"jasnell@gmail.com"},{"name":"addaleax","email":"anna@addaleax.net"},{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/nearform/fastify-secrets-core#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-core/issues"},"dist":{"shasum":"8b61a15a4e3db0373a7563c376161ae3c55e91b1","tarball":"https://registry.npmjs.org/fastify-secrets-core/-/fastify-secrets-core-1.0.0.tgz","fileCount":11,"integrity":"sha512-gcWjTbptHZs8lVFmvW7xrTs+WyOHHv5Z8Pbmb1IYIJqvFhz/gHlrln/gf3eGeM9Z4yv6BWgVACUA+QJHUk8DNg==","signatures":[{"sig":"MEYCIQCCTktO4UtoPJAPbYgB5Fc0h+j1xB5MNVyIjHF+Ft4zjAIhAPjq3amzHm1ZlDyjmnNLhYX6lM7sMdX1itbA73DIJfVE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19477,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjt0uCRA9TVsSAnZWagAA/tYP/3vJt4pdtmQxTDDucdd+\nhdqr++aPT8WTgYJAaAEIExNK4BduAuhlk1Frn+ZNGIPjD543XtdmxBwMa1JF\nt8FP51esfZNyYZ+WItWGGURYU/bQHs2AGrgQPJcY+dWr6Y+a9UCiZhZzaNIB\nFwIFXMeeyGXOY8Ynqr2Di/G/ns/7BmseF23hphMpHzhuF+PDUFELIEhgBYem\nD4n+PT9ZQMoph3NyVxiE49es7BO02fVg28sxTHhV0x6v0fUpl+OK05Xflv+5\nR9+PhgCmOr04cjKC+/dn1CtOpxX0z6QOjfGl/KluD/5C1a8EWRw34g0o5Uxj\ndRBaQdZL8wkGegH8oYmiPzAyAryoaHrdPUFrDjnwyrZvUaxyFD5OG1Duj6Cr\n69R+1KFmPWPbv4Fo8cyipBW3CKSgKHtDCQ7wtFlMngrK7AtElpLtl6i+hUkz\nz0n5JJGg3EhoottIn6uJ1QFWGyZ8DhvHpE7HR9gyMT/uhbFBtPH0fgFtq3bz\ngC5ENR6z8RyLIYJdBBdULNpyMfeaxdLbyV27LWROxKV3Z26MTiD5P8XKU1yF\nAJOF+vvv7zKAsYeKcLrMM3BVawDUs3tmjrzG2jGuCfYpRYdAx5BRLNMqM8MU\njJqcQhgXkCNV/1I86k2dTtb3KVT12Pt+3lTGYCHp+1bZlWTK1gnC1HuyTelt\n0xxz\r\n=xr5h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/fastify-secrets-core.js","husky":{"hooks":{"pre-push":"npm run lint && npm run test","pre-commit":"npm run lint:staged"}},"engines":{"node":">= 12.13.0"},"gitHead":"14db83e2d53fef56d11883581872089b2e8e0c72","scripts":{"lint":"eslint lib/**/*.js test/**/*.js","test":"tap --reporter=spec --coverage-report=html --coverage-report=text --100 --no-browser test/*.test.js test/**/*.test.js","test:ci":"tap --no-color --reporter=spec --coverage-report=json --coverage-report=text --100 test/*.test.js test/**/*.test.js","lint:fix":"npm run lint -- --fix","lint:staged":"lint-staged"},"_npmUser":{"name":"paolochiodi","email":"chiodi84@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-secrets-core.git","type":"git"},"_npmVersion":"6.14.5","description":"Simplify development of fastify-secrets plugins","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"14.5.0","dependencies":{"p-props":"^4.0.0","fastify-plugin":"^2.3.4"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^14.10.8","husky":"^4.3.0","sinon":"^9.2.0","eslint":"^7.11.0","prettier":"^2.1.2","proxyquire":"^2.1.3","lint-staged":"^10.4.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-prettier":"^6.12.0","eslint-config-standard":"^14.1.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/fastify-secrets-core_1.0.0_1603198254390_0.38512558153226006","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"fastify-secrets-core","version":"1.0.1","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-core@1.0.1","maintainers":[{"name":"paolochiodi","email":"chiodi84@gmail.com"},{"name":"dublx","email":"luis.faustino@gmail.com"},{"name":"irelandm","email":"mark.ireland@nearform.com"},{"name":"zimny","email":"piotr.zimoch@cloudaemons.com"},{"name":"fiacc","email":"fiaccobm@gmail.com"},{"name":"ovhemert","email":"hello@ovhemert.dev"},{"name":"ckiss","email":"kissdevel@gmail.com"},{"name":"admataz","email":"adam@admataz.com"},{"name":"chrisdwheatley","email":"chriswheatley87@gmail.com"},{"name":"lpww","email":"thomas.treffry@nearform.com"},{"name":"jackdclark","email":"jack@jackdc.com"},{"name":"joezo","email":"joezo156@googlemail.com"},{"name":"donovanhutchinson","email":"donovan.hutchinson@nearform.com"},{"name":"iamsw","email":"sjwilson89@gmail.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"alan.slater","email":"alan.slater@nearform.com"},{"name":"davidefiorello","email":"davide@codeflyer.com"},{"name":"filippo.desantis","email":"filippo.desantis@gmail.com"},{"name":"jimmymintzer","email":"jimmymintzer@gmail.com"},{"name":"cianfoley_nearform","email":"cian.foley@nearform.com"},{"name":"mattrobinson","email":"matt.robinson@nearform.com"},{"name":"shogun_panda","email":"paolo@cowtech.it"},{"name":"shaunjbaker","email":"shaun@schb.co.uk"},{"name":"nearformer","email":"david.clements@nearform.com"},{"name":"davidmarkclements","email":"david.mark.clements@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"damianberesford","email":"dberesford@gmail.com"},{"name":"conoro","email":"conor@conoroneill.com"},{"name":"mcdonnelldean","email":"mcdonnelldean@outlook.com"},{"name":"jasnell","email":"jasnell@gmail.com"},{"name":"addaleax","email":"anna@addaleax.net"},{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/nearform/fastify-secrets-core#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-core/issues"},"dist":{"shasum":"426896d8c6314cfe33831f175070d57283be3fc4","tarball":"https://registry.npmjs.org/fastify-secrets-core/-/fastify-secrets-core-1.0.1.tgz","fileCount":12,"integrity":"sha512-+Prbqxx9siu5kTl+aE/Is9HTDQnnz7Awvf5RZkYmXx0c0mb3ceKE1xnz4FmE08mc7k5WU4TwSvwsbLjR9hUoMQ==","signatures":[{"sig":"MEUCIQDIyrH/v/ZsinheXIWU+X9W2/PF+Qn0NB5MFHSmIxCZWwIgHVWscKL793a5RxObAUol0A/G4uIGh6QZIcpgnnboRVE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19582,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjwnCCRA9TVsSAnZWagAAZbwP/1hHu+d31FKRQQ1mPyal\nfX5gCtykyDc3+oVj3PNbu/WF+H/VyrVQV7IXbsyh99OSHbZkswkvWPCtIYol\n+ISpbwNcDomj3f2cHNquwEDeoh08uXWWli6NmCar3G3Tbgnqr/rU2DvGYuGz\nLUNQLMvTLA1gJ0vir234QVXZiXLgFHEfQcsgR3cAZWsUwwGCF/xouNWfAb3f\n/kPnEAjqZz1BcYKx6na/dwrZ00cTFODX/M9vfVcxJmn2SmHazQ2CruQnAaA3\n2N9MYCPkhfDKMmPJDgvSEs3rNd35xi1LjXa8P+0WrteGu45vnH3plPCPuJKE\n3S/0GXnbesExJjsdYEHfBeMtng81JwpmgqaMBnE6q6zervoL7rKJlC7MGHgw\nbiLrkyZGH03pP6c2CrHFKF5yHHPpvXefFmlV23FsidvDjNthrh6VAi1oca//\nq4/5ZvzdXZwaukWnmsJB8d3SHV8UgdP9yXo9hNTlvEYOzm4TBpASkuzIBpzm\nfLI/ZX36LjgZbUMOWwTwLExTEhIkKDrQEmppToazVRQyWPs4VuXRUsBqg+3a\nCouu/NJEsV4D3MedpcKHpN32FZAPsTMos4X+7+U4ZMgAD7FeXeVzgwWY5Iqu\nhCmYWYH3OfYNhZOMBeHutmdwYo6NgGJnL+85myOxGBXx3SPXGpzzmM/emcnd\niFF/\r\n=Xpj1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/fastify-secrets-core.js","husky":{"hooks":{"pre-push":"npm run lint && npm run test","pre-commit":"npm run lint:staged"}},"engines":{"node":">= 12.13.0"},"gitHead":"97cba814941e10848f49377c04aa68cb93818d5c","scripts":{"lint":"eslint lib/**/*.js test/**/*.js","test":"tap --reporter=spec --coverage-report=html --coverage-report=text --100 --no-browser test/*.test.js test/**/*.test.js","test:ci":"tap --no-color --reporter=spec --coverage-report=json --coverage-report=text --100 test/*.test.js test/**/*.test.js","lint:fix":"npm run lint -- --fix","lint:staged":"lint-staged"},"_npmUser":{"name":"paolochiodi","email":"chiodi84@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-secrets-core.git","type":"git"},"_npmVersion":"6.14.5","description":"Simplify development of fastify-secrets plugins","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"14.5.0","dependencies":{"p-props":"^4.0.0","fastify-plugin":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^14.10.8","husky":"^4.3.0","sinon":"^9.2.0","eslint":"^7.11.0","prettier":"^2.1.2","proxyquire":"^2.1.3","lint-staged":"^10.4.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-prettier":"^6.12.0","eslint-config-standard":"^14.1.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/fastify-secrets-core_1.0.1_1603209665416_0.13751725306351759","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"fastify-secrets-core","version":"1.1.0","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-core@1.1.0","maintainers":[{"name":"alan.slater","email":"alan.slater@nearform.com"},{"name":"davidefiorello","email":"davide@codeflyer.com"},{"name":"filippo.desantis","email":"filippo.desantis@gmail.com"},{"name":"jimmymintzer","email":"jimmymintzer@gmail.com"},{"name":"cianfoley_nearform","email":"cian.foley@nearform.com"},{"name":"mattrobinson","email":"matt.robinson@nearform.com"},{"name":"shogun_panda","email":"paolo@cowtech.it"},{"name":"shaunjbaker","email":"shaun@schb.co.uk"},{"name":"nearformer","email":"david.clements@nearform.com"},{"name":"davidmarkclements","email":"david.mark.clements@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"damianberesford","email":"dberesford@gmail.com"},{"name":"conoro","email":"conor@conoroneill.com"},{"name":"mcdonnelldean","email":"mcdonnelldean@outlook.com"},{"name":"jasnell","email":"jasnell@gmail.com"},{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"iamsw","email":"sjwilson89@gmail.com"},{"name":"donovanhutchinson","email":"donovan.hutchinson@nearform.com"},{"name":"joezo","email":"joezo156@googlemail.com"},{"name":"jackdclark","email":"jack@jackdc.com"},{"name":"lpww","email":"thomas.treffry@nearform.com"},{"name":"chrisdwheatley","email":"chriswheatley87@gmail.com"},{"name":"admataz","email":"adam@admataz.com"},{"name":"ckiss","email":"kissdevel@gmail.com"},{"name":"ovhemert","email":"hello@ovhemert.dev"},{"name":"fiacc","email":"fiaccobm@gmail.com"},{"name":"zimny","email":"piotr.zimoch@cloudaemons.com"},{"name":"irelandm","email":"mark.ireland@nearform.com"},{"name":"dublx","email":"luis.faustino@gmail.com"},{"name":"paolochiodi","email":"chiodi84@gmail.com"}],"contributors":[{"name":"Simone Busoli","email":"simone.busoli@nearform.com"}],"homepage":"https://github.com/nearform/fastify-secrets-core#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-core/issues"},"dist":{"shasum":"b7e441bf83c8b4712381ee43b42dda85caf9917a","tarball":"https://registry.npmjs.org/fastify-secrets-core/-/fastify-secrets-core-1.1.0.tgz","fileCount":13,"integrity":"sha512-eaqFGOpKsZxD/3DWUGImknY03+wO10tq4KhKnXtp5yru1LK/Wx6gl71k+OeLg+gs7FbSQFVil0baxcOYQ5laLA==","signatures":[{"sig":"MEQCIDCmM1wYEBKLnUfnri9g4OPjZc1VmEIN2eOK06m4BG0cAiA4pkMv8/8FVAOJh6hpRFaNfuU0gRniU+KPqlMAz2x1xg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20661,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2e5pCRA9TVsSAnZWagAAwfUP/ifgTG0zjWJDiblrRyeL\nBDChnb2k1an0pffzPkuXbr3otGxvaw8QYyQL9RCDa5H0YgrMKM3uqXxmcidD\nFQNVbVT0PYt/GwSi1UgfmzzJL76wFkM72Lpo/NPA2f/sRjtT0XTA5RXiPxSS\nyR/pNhxGPGhvuOtoVcqeuG/GS21ut0Pu1tn0H7yum44NGUTIKafwaAy/F/lp\n5Xo7A5oQ/fWOSCCYMYdg2yFfQBsKZUf6CEMvKKa1vvQE5nd27v9Xl5f8QQgx\nyayEtYhQ2kGceti+YReSF2Rw/gNZ04YP4w/+o6YRahW7QmKFpMVQD/w/R1Gm\nwKtSkg2a0M+CyU6SA2tkjbVblofODXlxUPuanh60jIj9ia7G14vNlanfEVFI\n9fbkOI5EfZyL0itV82sp4cfTI5xj41EWNRVPmypqq+JWwGvB9kVR8lQ6/ftw\nhLnKr5aGv7sodchd71aNQ9FP4qb89aFiVl6PvZPtgpFjuj/fYCVcEnj4Tlwi\n+TxB6iYzqCJdy4hbafVcUwgYWbULbwm6GYivjU+MALwHpM2nyWaUtUuA/ZQA\nJAQMaxccqNaoFQ/HDGASn9p2ZUnYn/9qi1GZ/YsVLPW3i5p2wE2ibNtLMryq\nzAGpWMFIUOJqQs03x79AXHEGcIzhtqEV+XWNl8ZmeXLB4kPkPM7PaHroKAv0\nM2Fe\r\n=VsSa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/fastify-secrets-core.js","husky":{"hooks":{"pre-push":"npm run lint && npm run test","pre-commit":"npm run lint:staged"}},"engines":{"node":">= 12.13.0"},"gitHead":"2c5842cc9dbef414e6dbf19b4577a0d7e37460bf","scripts":{"lint":"eslint lib/**/*.js test/**/*.js","test":"tap --no-browser --coverage-report=html --coverage-report=text  test","test:ci":"tap --no-color --coverage-report=json --coverage-report=text test","lint:fix":"npm run lint -- --fix","lint:staged":"lint-staged"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-secrets-core.git","type":"git"},"_npmVersion":"6.14.5","description":"Simplify development of fastify-secrets plugins","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"12.18.2","dependencies":{"p-props":"^4.0.0","fastify-plugin":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^14.10.8","husky":"^4.3.0","sinon":"^9.2.0","eslint":"^7.11.0","prettier":"^2.1.2","proxyquire":"^2.1.3","lint-staged":"^10.4.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-prettier":"^7.0.0","eslint-config-standard":"^16.0.0","eslint-plugin-prettier":"^3.1.4","eslint-plugin-standard":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-secrets-core_1.1.0_1608117864757_0.8139191137860946","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"fastify-secrets-core","version":"1.2.0","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-core@1.2.0","maintainers":[{"name":"sameer13","email":"sameer13@gmail.com"},{"name":"radomird","email":"radomir.drndarski@nearform.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"jimmymintzer","email":"jimmymintzer@gmail.com"},{"name":"shogun_panda","email":"paolo@cowtech.it"},{"name":"nearformer","email":"david.clements@nearform.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"irelandm","email":"mark.ireland@nearform.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"},{"name":"paolochiodi","email":"chiodi84@gmail.com"}],"contributors":[{"name":"Simone Busoli","email":"simone.busoli@nearform.com"}],"homepage":"https://github.com/nearform/fastify-secrets-core#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-core/issues"},"dist":{"shasum":"e9e95fd19d1a3ece568aa2464aeb41917865ef09","tarball":"https://registry.npmjs.org/fastify-secrets-core/-/fastify-secrets-core-1.2.0.tgz","fileCount":16,"integrity":"sha512-PqIdxLrxkMoA+/j/nSM5WMFwXUIZdYX91lx1qGHjC0dHRy28YeyW1/wwXZ8paFbqcIZUjAskuKfUTNdIiX44SQ==","signatures":[{"sig":"MEUCIQDM+7PMNYy7Z1RSa7NBWXjQRVjU5fQIX5lp+QOdfL/CrAIgfg1b+geRhL+CPuOR/wFvP3t+RxGHIYYoX4C8H1jAiKk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiXsO1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqrFQ//c4avtWSIfHsW8QU0zgH2Q7YLWFqeO0u4XsN+/3vfnI0jG4ba\r\nNxksChbFexKrXkeoh2+9ME+7PDJPnzZQBBysAG0SIZ+XqssNORyRdXoH+cbW\r\nPZtZcHb68coIqT/9z7Wv+nCYtr+V44lPCKuxSNp2aRqDejDAgLhPb2o3JtGa\r\nauwMfPJwEAFjJ20Py1FOgEQfqSlgNtT8xv801eZ99gc3SBAzP6v0c2bBFHAd\r\nQbSjWYdl6XuupL3rmlWHnI37pdeD8aUHhwZDiNIhTXLMPgAP5gg1oOfFiJUz\r\nN/3kCl1vo/JSJ/UCTy6PAY9oBTPtop6JgttTvlZrwQsBRo5rekIF4Vbw2yib\r\nbkB5GLMaelKcqZwtpVAdyUAOWyOa3ATvr0fUMvSskHAE4gIv5Ar6WNeQQ0um\r\nQzpcdniijCyy2v3ZGiorrKRyHc1PnAM8FP3dgMe0EySeZU/YUp/XPYx6PCfO\r\n9TvNtiUdMOAoE2JETAYktCnuQMQzUgNcl4G/hX3skTXj6G+LnITs+2kfZDBP\r\nQ3V72rnvfJHbYR7+mHiYgQl0dTE0iHgh1gHKF66M8RzuVy8LldJa+5W9BamQ\r\n4NftWe7Qz44vslZqWTYCvS3y5VUR/+WKZgNM07NLVlVjis4RaJ6vCk1E7BBi\r\nRzoSWK3AXS9jEwg9xTbqykpcU4B2XlWbmbc=\r\n=0vDj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/fastify-secrets-core.js","husky":{"hooks":{"pre-push":"npm run lint && npm run test","pre-commit":"npm run lint:staged"}},"engines":{"node":">= 12.13.0"},"gitHead":"12c5d0fb5c9e1cdef5d07c37154c974db862692f","scripts":{"lint":"eslint lib/**/*.js test/**/*.js","test":"tap --no-browser --coverage-report=html --coverage-report=text  test","test:ci":"tap --no-color --coverage-report=json --coverage-report=text test","lint:fix":"npm run lint -- --fix","lint:staged":"lint-staged"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-secrets-core.git","type":"git"},"_npmVersion":"8.5.0","description":"Simplify development of fastify-secrets plugins","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"16.14.2","dependencies":{"p-map":"^4.0.0","p-props":"^4.0.0","fastify-plugin":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","husky":"^7.0.0","sinon":"^13.0.0","eslint":"^7.0.0","prettier":"^2.1.2","proxyquire":"^2.1.3","lint-staged":"^12.0.2","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^5.1.0","eslint-config-prettier":"^8.0.0","eslint-config-standard":"^16.0.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-secrets-core_1.2.0_1650377653062_0.47569187520857525","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"fastify-secrets-core","version":"1.2.1","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-core@1.2.1","maintainers":[{"name":"sameer13","email":"sameer13@gmail.com"},{"name":"radomird","email":"radomir.drndarski@nearform.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"jimmymintzer","email":"jimmymintzer@gmail.com"},{"name":"shogun_panda","email":"paolo@cowtech.it"},{"name":"nearformer","email":"david.clements@nearform.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"irelandm","email":"mark.ireland@nearform.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"},{"name":"paolochiodi","email":"chiodi84@gmail.com"}],"contributors":[{"name":"Simone Busoli","email":"simone.busoli@nearform.com"}],"homepage":"https://github.com/nearform/fastify-secrets-core#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-core/issues"},"dist":{"shasum":"bf54caabcde6131b02a348cf7b75d2b8713e230b","tarball":"https://registry.npmjs.org/fastify-secrets-core/-/fastify-secrets-core-1.2.1.tgz","fileCount":17,"integrity":"sha512-MLsgAwcL4UnZ3tdkz77SB30KCIMxlrpqApFx2v6XXiARIm5H8wQeyPwC0Kse9JHCBpt4OEOmUcgNjzTaN6NU5Q==","signatures":[{"sig":"MEUCIQCEPt7Dko8rLk0bZvtlTQW7Oo3sX/r7hMPOb7GuoOTpGQIgaEF1KqN73MZHTu/hnQz0SfgABGUG2GpQiPtJIVsB6PQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiYDDkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpLfQ//WM6fzAMWT/+VBCug0ii3s1LGHK4l8k3clL1PcQEvCYh4g2H8\r\n0X6CT40ThQXNkSm7vHTuZKhp53m0fkP2nVMyqUlvilgS9V5oZrXOaujGDx8+\r\nVb91ivpiQjuDaGWvxhISHlASEjBXESIYgxu29pZi72qGhWI79IgVuGZAl29X\r\nZ9k5n795QbDSrxBESoZpfYYWQl5XNGdvKwJcybVnGeFwe7dBwMHIsOoFZMPD\r\nzHNcKeqzo//i7RD0iy+Mj87jn8qNTOWdRFpQL9DyPj4asaveCAai1ME2qOPz\r\nSLb7EvIOMjoM6KZGeM9VNJnrq0aVc5fO/xzXo2aJp6P2D8AwYSyLnv0foYuH\r\n546yCNV7E3StaIAq+z+Mi3Zvf285fSYCDd2JpwEjEBDxuryXexzUAKvEjgMJ\r\nrWGQ2FqFU2DbJJvNK4WewVRkoD4FNDVMP1l9oL22OjB+JWiGyKuv+A9Vwspr\r\ndNqyX7VwrCRrcugfpwG490Z/o+COMzNmye/TowCmiwVUQ4PTC3xbbwgKRp81\r\nb0CV21JM6kDS9gh+UAb2ruiiC7hgQg/vQ3zEfpFbXQELtzuK/NV5019Sg0zv\r\nlcGhogKYW5E0f3qF++5X/sBHm0GOBLyoRi0YdgdnTspTlmkdWAdw+oz/ou7c\r\nPogLG5KYIfNaKaSSN8T2ptu6Rtaw0NLQedc=\r\n=8lGq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/fastify-secrets-core.js","husky":{"hooks":{"pre-push":"npm run lint && npm run test","pre-commit":"npm run lint:staged"}},"engines":{"node":">= 12.13.0"},"gitHead":"43bf2d93f1d8ba3cdc1ae72fcba2f03a7ff1a9bc","scripts":{"lint":"eslint lib/**/*.js test/**/*.js","test":"tap --no-browser --coverage-report=html --coverage-report=text  test","test:ci":"tap --no-color --coverage-report=json --coverage-report=text test","lint:fix":"npm run lint -- --fix","lint:staged":"lint-staged"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-secrets-core.git","type":"git"},"_npmVersion":"8.5.0","description":"Simplify development of fastify-secrets plugins","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"16.14.2","dependencies":{"p-map":"^4.0.0","p-props":"^4.0.0","fastify-plugin":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","husky":"^7.0.0","sinon":"^13.0.0","eslint":"^7.0.0","prettier":"^2.1.2","proxyquire":"^2.1.3","lint-staged":"^12.0.2","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^5.1.0","eslint-config-prettier":"^8.0.0","eslint-config-standard":"^16.0.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-secrets-core_1.2.1_1650471140523_0.1828388645799479","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"fastify-secrets-core","version":"2.0.0","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-core@2.0.0","maintainers":[{"name":"micheleriva","email":"master@micheleriva.it"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"sameer13","email":"sameer13@gmail.com"},{"name":"radomird","email":"radomir.drndarski@nearform.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"jimmymintzer","email":"jimmymintzer@gmail.com"},{"name":"shogun_panda","email":"paolo@cowtech.it"},{"name":"nearformer","email":"david.clements@nearform.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"irelandm","email":"mark.ireland@nearform.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"},{"name":"paolochiodi","email":"chiodi84@gmail.com"}],"contributors":[{"name":"Simone Busoli","email":"simone.busoli@nearform.com"}],"homepage":"https://github.com/nearform/fastify-secrets-core#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-core/issues"},"dist":{"shasum":"18bdcc0968567893119f93c3fb23b222f700f04e","tarball":"https://registry.npmjs.org/fastify-secrets-core/-/fastify-secrets-core-2.0.0.tgz","fileCount":17,"integrity":"sha512-fWdjKtJoIY20h5KS0nAevdoPRnQp1AbjJkQTe7VEzMMDrQuPW1RBcaJRZcxevQCx2kfBJoYbhUMN5rZ+1aonnQ==","signatures":[{"sig":"MEUCIEYa6yc/jgIayV51k6GavVIqm9ZPBi37d6wn7/WHjvrmAiEAmbn/eI5buUxqQEXABnwltIKqqhGN+picKqXchWh9E5Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33449,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqfIqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPbw/7Bbq2e8ODeiLDTm9Ib3eJP9vwLFEkf7WZxZbDwRe0uxvu+XlJ\r\nZWLF8wWMaiMrDVs7LCnY3JhcSBXVJquEBLM6UGaP/zkQvmCs2WTXBb9SFi1W\r\n4lH/pjB92m5u/Dk6ibQmyoglP3AdqbJ2gsZmueq7ZIsI0R8KGcNLpqj+U3f+\r\nEoiot/5fUuDPmqAs+ZmE9XwQgr49ooK3rhzFggR978Dk7q+GBZ6xJ3BxFA/X\r\nPJvdNFLDKEmzyjv/TGaZyJJgr/fgUWTj1wRKgmEH1z3SzToerWHB5EuyFFEU\r\nbTgoAhXvqg0A2t8cKrNFLffQZJWWqsKQRP3FKtnFER6Y0oBppUH+/7mUTqtZ\r\nbIgCk8GoZR2Zckk8fF7FFKFXaAf1YGtnGkxq4GYcg853qiY8my74KDgTnLI2\r\nQ8ZGsr+bKdGyrufBuFqWCYiYaEkY5kmbTF0RKmyhC4dmXaTSQ0tIy7ryIFmG\r\noEiBzD/oVLG9u24W+1nKBDeF4k2t9HFoyUh+8NaEVMDbHKM3gGx+JiV/BdJH\r\n9aOpXi4TjQ9tfXgJh9oEIin/W41oE90WHdOrLIH1JMGCSBHtPLoixVRBqc3d\r\nwJvAqZE/bZVVaj0Lwo58n2j9/psYb9cgYIGplUcZW1SPoy+MTVWoOvaQIszp\r\nlNzKgQpQY5G7U3nYfbVtMEw1j8nCP7opbrM=\r\n=PNMx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/fastify-secrets-core.js","husky":{"hooks":{"pre-push":"npm run lint && npm run test","pre-commit":"npm run lint:staged"}},"engines":{"node":">= 12.13.0"},"gitHead":"17450f45ea5c87d983492f28c5dc1aea10bf78f0","scripts":{"lint":"eslint lib/**/*.js test/**/*.js","test":"tap --no-browser --coverage-report=html --coverage-report=text  test","test:ci":"tap --no-color --coverage-report=json --coverage-report=text test","lint:fix":"npm run lint -- --fix","lint:staged":"lint-staged"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-secrets-core.git","type":"git"},"_npmVersion":"8.11.0","description":"Simplify development of fastify-secrets plugins","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"16.15.1","dependencies":{"p-map":"^4.0.0","p-props":"^4.0.0","fastify-plugin":"^3.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","husky":"^8.0.0","sinon":"^14.0.0","eslint":"^7.0.0","prettier":"^2.1.2","proxyquire":"^2.1.3","lint-staged":"^13.0.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^5.1.0","eslint-config-prettier":"^8.0.0","eslint-config-standard":"^16.0.0","eslint-plugin-prettier":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-secrets-core_2.0.0_1655304746663_0.7923808099526006","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"fastify-secrets-core","version":"2.1.0","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-core@2.1.0","maintainers":[{"name":"codyzu","email":"cody.zuschlag@gmail.com"},{"name":"davidefiorello","email":"davide@codeflyer.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"shogun_panda","email":"paolo@cowtech.it"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"irelandm","email":"mark.ireland@nearform.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"},{"name":"paolochiodi","email":"chiodi84@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"}],"contributors":[{"name":"Simone Busoli","email":"simone.busoli@nearform.com"}],"homepage":"https://github.com/nearform/fastify-secrets-core#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-core/issues"},"dist":{"shasum":"05293789ac83455bbe21b47bd6144def9305cdf4","tarball":"https://registry.npmjs.org/fastify-secrets-core/-/fastify-secrets-core-2.1.0.tgz","fileCount":18,"integrity":"sha512-r6cjXYCpAr/eM6adRB0K3ns7pdY7I8lXcvFMZQ0jsRfPU8wCYXMomZxySGTuv3ltn3PrsaU233OQtm/yWubUxA==","signatures":[{"sig":"MEQCIBR7ocS3hCGXEtHElMRPF6oqlWo6lf2m+5OM/8Kgb3g0AiBRWT707EByhxdOIsOhszTy8xkrsUNwUO/mmHRua1YR6Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33759,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSRLWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoxNA//Z7vIkx74MbQDdkv6akrJK/oV2lP2MubqtDwn/WGwPuv7JPD1\r\niYT8v4S55Z3wkc1WBPr4zE88ujZKiB0+ftbcGl+J95GaDczZRnxvo4skkEPr\r\nUZNeP1AHplqdzHYVA7c4Yylsm/6oITzun7KfU7jfFhZWoD8mtEpbYaGelPBi\r\nqaBr1f5tAw+vcC5NfbfB3GFkSH6fEwqSIzv9TzQVTXt4meA7q9z902THy9BX\r\nQ3RpAg9ZmRNoawoFmpT/AN0pT1K9+Gnb+qVdUvbwbE82KaEFU0ZKjW0yat9U\r\nN+aIBsN4pRayeVt+iLHXLSc/9SoD9/dmu2ljgwDGtqGe1yrF/LZgK0B3yPE6\r\nCaeGeDwfy5tgLnXKQzT1ZidzLI6yLsKUky5RWzarW9XghvRxu5+TEXd2s2tO\r\n25K8PC/bgxT65jynmoml+TEnuwOwSuwJjo7s1SgxsSR30Iz83kDrF1F4DT9D\r\nqJV3egcnj5qU7S+s6j3vRrRKIGBzdCnqEp3OK74Q88bASOLI5pj7U57gro4h\r\nMIA+B/TT3ozJGrBt7HM52dWpB5h2wQfdWkzOJI9zD8umgnAvKo2Uz6ll+Pux\r\nRMxlv95rZwLLjwTRLhUL3lAQ1bmCuxqSPtdTJKIbY9Eiqe8Gdn/3GzfFu/aA\r\n6HTcp6Oz2Vqxw1nqGdiZAUTSH3LePK3qle8=\r\n=wXLW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/fastify-secrets-core.js","husky":{"hooks":{"pre-push":"npm run lint && npm run test","pre-commit":"npm run lint:staged"}},"engines":{"node":">= 12.13.0"},"gitHead":"2156744d2aa9b7d853a7c9ab1e6c1e5aedd4bc77","scripts":{"lint":"eslint lib/**/*.js test/**/*.js","test":"tap --no-browser --coverage-report=html --coverage-report=text  test","test:ci":"tap --no-color --coverage-report=json --coverage-report=text test","lint:fix":"npm run lint -- --fix","lint:staged":"lint-staged"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-secrets-core.git","type":"git"},"_npmVersion":"9.5.1","description":"Simplify development of fastify-secrets plugins","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"18.16.0","dependencies":{"p-map":"^4.0.0","p-props":"^4.0.0","fastify-plugin":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","husky":"^8.0.0","sinon":"^15.0.0","eslint":"^8.18.0","prettier":"^2.1.2","proxyquire":"^2.1.3","lint-staged":"^13.0.0","eslint-plugin-n":"^15.2.3","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.0.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-secrets-core_2.1.0_1682510550524_0.26283574015774747","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"fastify-secrets-core","version":"2.1.1","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-core@2.1.1","maintainers":[{"name":"codyzu","email":"cody.zuschlag@gmail.com"},{"name":"davidefiorello","email":"davide@codeflyer.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"shogun_panda","email":"paolo@cowtech.it"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"irelandm","email":"mark.ireland@nearform.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"},{"name":"paolochiodi","email":"chiodi84@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"}],"contributors":[{"name":"Simone Busoli","email":"simone.busoli@nearform.com"}],"homepage":"https://github.com/nearform/fastify-secrets-core#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-core/issues"},"dist":{"shasum":"727e8204c5935bd528f0bc51a0383c5bbfc50fd3","tarball":"https://registry.npmjs.org/fastify-secrets-core/-/fastify-secrets-core-2.1.1.tgz","fileCount":18,"integrity":"sha512-FSUlmIcGV5oarEIL860sGvilv+btG/5qAvQteeH+rBEVV/p+pzQSpXWiz9C3LgQcbnl35pFihdWbmRYxzfUxBg==","signatures":[{"sig":"MEUCIAsv0qCyPtKirhsh/B8+bTsQJnsK+ClbzMwmcBIY+l73AiEAlUBE4q0VP1UPXpPRG624iTBgt4wFnXzbFQRE9C1VAm0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fastify-secrets-core@2.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":33880},"main":"lib/fastify-secrets-core.js","husky":{"hooks":{"pre-push":"npm run lint && npm run test","pre-commit":"npm run lint:staged"}},"engines":{"node":">= 12.13.0"},"gitHead":"3c104ed398ed09a17e49b83a633e1ee23acd167b","scripts":{"lint":"eslint lib/**/*.js test/**/*.js","test":"tap --no-browser --coverage-report=html --coverage-report=text  test","test:ci":"tap --no-color --coverage-report=json --coverage-report=text test","lint:fix":"npm run lint -- --fix","lint:staged":"lint-staged"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-secrets-core.git","type":"git"},"_npmVersion":"9.5.1","description":"Simplify development of fastify-secrets plugins","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"18.16.0","dependencies":{"p-map":"^4.0.0","p-props":"^4.0.0","fastify-plugin":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","husky":"^8.0.0","sinon":"^15.0.0","eslint":"^8.18.0","prettier":"^2.1.2","proxyquire":"^2.1.3","lint-staged":"^13.0.0","eslint-plugin-n":"^15.2.3","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.0.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-secrets-core_2.1.1_1683907971758_0.80250665818728","host":"s3://npm-registry-packages"}},"2.1.2":{"name":"fastify-secrets-core","version":"2.1.2","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-core@2.1.2","maintainers":[{"name":"bpantha","email":"birajpanta112@gmail.com"},{"name":"lucalanziani","email":"luca@lanziani.com"},{"name":"williamlines","email":"williamlines42@gmail.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"},{"name":"paolochiodi","email":"chiodi84@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"}],"contributors":[{"name":"Simone Busoli","email":"simone.busoli@nearform.com"}],"homepage":"https://github.com/nearform/fastify-secrets-core#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-core/issues"},"dist":{"shasum":"ba796ca13f571f7cc178101a20b69f7edeeeeed9","tarball":"https://registry.npmjs.org/fastify-secrets-core/-/fastify-secrets-core-2.1.2.tgz","fileCount":18,"integrity":"sha512-hKOmLHIlnEyueZKwFlyHXetBez8i7Prkb9Vms9MzHvtvap1iF54/4zlz4iA5uoZ7B2xz2wY8Ai/Oy7TMaQVDKg==","signatures":[{"sig":"MEUCIB2vaj2Hz4zOvYeNpAIhO9WWTmiLT0yFpdTXNZbCrX7pAiEAxykwExxiO2o7MyfSUBscyCJfxoralufVSea39DR87lk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fastify-secrets-core@2.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33878},"main":"lib/fastify-secrets-core.js","husky":{"hooks":{"pre-push":"npm run lint && npm run test","pre-commit":"npm run lint:staged"}},"engines":{"node":">= 12.13.0"},"gitHead":"76931bc8982675bc623fd1273afb66d09e144da5","scripts":{"lint":"eslint lib/**/*.js test/**/*.js","test":"tap --no-browser --coverage-report=html --coverage-report=text  test","test:ci":"tap --no-color --coverage-report=json --coverage-report=text test","lint:fix":"npm run lint -- --fix","lint:staged":"lint-staged"},"_npmUser":{"name":"bpantha","email":"birajpanta112@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-secrets-core.git","type":"git"},"_npmVersion":"9.8.1","description":"Simplify development of fastify-secrets plugins","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"18.18.0","dependencies":{"p-map":"^4.0.0","p-props":"^4.0.0","fastify-plugin":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","husky":"^8.0.0","sinon":"^15.0.0","eslint":"^8.18.0","prettier":"^3.0.1","proxyquire":"^2.1.3","lint-staged":"^14.0.0","eslint-plugin-n":"^16.0.2","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^9.0.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-secrets-core_2.1.2_1697125986489_0.9053105746158605","host":"s3://npm-registry-packages"}},"2.1.4":{"name":"fastify-secrets-core","version":"2.1.4","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-core@2.1.4","maintainers":[{"name":"ademsk1","email":"adam.illoul24@gmail.com"},{"name":"lucalanziani","email":"luca@lanziani.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"},{"name":"paolochiodi","email":"chiodi84@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"}],"contributors":[{"name":"Simone Busoli","email":"simone.busoli@nearform.com"}],"homepage":"https://github.com/nearform/fastify-secrets-core#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-core/issues"},"dist":{"shasum":"47a582ba7b1d57bdacb87c73fe30f5ec6e0ecd2f","tarball":"https://registry.npmjs.org/fastify-secrets-core/-/fastify-secrets-core-2.1.4.tgz","fileCount":18,"integrity":"sha512-HNKIf4lOHwJMN0Zjx0d2kfX0vs1bY14npvaB5ZiDhn/8uhUpxRtienyHm0rzw7YIxMZj52seA4e3mRZ1Vnkkdw==","signatures":[{"sig":"MEUCIGEibxHCgXn91N6Hdr3QV7OclRaLOT3BAaemgbf03jHaAiEAz9QmcUdxmvP0lT9HgYRTHsCDTtxXS+1E+TAkP1Hgg38=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fastify-secrets-core@2.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33863},"main":"lib/fastify-secrets-core.js","husky":{"hooks":{"pre-push":"npm run lint && npm run test","pre-commit":"npm run lint:staged"}},"engines":{"node":">= 12.13.0"},"gitHead":"257d41a330847fd3e736e4360333e6bc9667d5e7","scripts":{"lint":"eslint lib/**/*.js test/**/*.js","test":"tap --no-browser --coverage-report=html --coverage-report=text  test","test:ci":"tap --no-color --coverage-report=json --coverage-report=text test","lint:fix":"npm run lint -- --fix","lint:staged":"lint-staged"},"_npmUser":{"name":"ademsk1","email":"adam.illoul24@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-secrets-core.git","type":"git"},"_npmVersion":"9.8.1","description":"Simplify development of fastify-secrets plugins","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"18.18.2","dependencies":{"p-map":"^4.0.0","p-props":"^4.0.0","fastify-plugin":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","husky":"^8.0.0","sinon":"^17.0.0","eslint":"^8.18.0","prettier":"^3.0.1","proxyquire":"^2.1.3","lint-staged":"^15.0.1","eslint-plugin-n":"^16.0.2","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^9.0.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-secrets-core_2.1.4_1701694997927_0.8035280670134142","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"fastify-secrets-core","version":"3.0.0","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-core@3.0.0","maintainers":[{"name":"lucalanziani","email":"luca@lanziani.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"},{"name":"paolochiodi","email":"chiodi84@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"}],"contributors":[{"name":"Simone Busoli","email":"simone.busoli@nearform.com"}],"homepage":"https://github.com/nearform/fastify-secrets-core#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-core/issues"},"dist":{"shasum":"45241f448086b24a5a181516d754ee74ca43fcf4","tarball":"https://registry.npmjs.org/fastify-secrets-core/-/fastify-secrets-core-3.0.0.tgz","fileCount":18,"integrity":"sha512-oXRmgSneB+JPxqpdvRGh2nfdQWCjwqS94f7NVT8ms2loVDlCWBf6n+x7puBDwABKS/7+Dy/beAj6RdUZ0H7R0A==","signatures":[{"sig":"MEUCIFBuOwHydTr8npNF1dQWUHoJwK4kChlxRyYRN/9nQFtfAiEAlk2WuYaC0fEIsiQ/9z+Qh5qb8O9JbONxzRYtt9H/nXs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fastify-secrets-core@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33864},"main":"lib/fastify-secrets-core.js","husky":{"hooks":{"pre-push":"npm run lint && npm run test","pre-commit":"npm run lint:staged"}},"engines":{"node":">= 12.13.0"},"gitHead":"790b7a0277c8333181ee4d5c7bed2b0789e6be6f","scripts":{"lint":"eslint lib/**/*.js test/**/*.js","test":"tap --no-browser --coverage-report=html --coverage-report=text  test","test:ci":"tap --no-color --coverage-report=json --coverage-report=text test","lint:fix":"npm run lint -- --fix","lint:staged":"lint-staged"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-secrets-core.git","type":"git"},"_npmVersion":"10.7.0","description":"Simplify development of fastify-secrets plugins","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"18.20.4","dependencies":{"p-map":"^4.0.0","p-props":"^4.0.0","fastify-plugin":"^5.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","husky":"^9.0.11","sinon":"^17.0.0","eslint":"^8.18.0","prettier":"^3.0.1","proxyquire":"^2.1.3","lint-staged":"^15.0.1","eslint-plugin-n":"^16.0.2","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^9.0.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-secrets-core_3.0.0_1729067199093_0.14446566808766392","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"fastify-secrets-core","version":"4.0.0","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-core@4.0.0","maintainers":[{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"lucalanziani","email":"luca@lanziani.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"paolochiodi","email":"chiodi84@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"}],"contributors":[{"name":"Simone Busoli","email":"simone.busoli@nearform.com"}],"homepage":"https://github.com/nearform/fastify-secrets-core#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-core/issues"},"dist":{"shasum":"b3f0aebf0fcd9faa2f94b0b99dce46fd9d835145","tarball":"https://registry.npmjs.org/fastify-secrets-core/-/fastify-secrets-core-4.0.0.tgz","fileCount":17,"integrity":"sha512-cxWdvSz6eIgg1pm6D56d61ORNwEd20VdS5LYH8FYDVoNGnoT1rP+NSeWvArbpsoByTaLSqUKOARp0gPwdosNNQ==","signatures":[{"sig":"MEYCIQDxxGiRgeOrkGwgDvP/1stqHwS2/2Y604a8cU6Iy8gjbgIhAOU1NWDCg5ZodFTdxPpynAS8/0X14xVJuilSaU/ZAItW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fastify-secrets-core@4.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35686},"main":"lib/fastify-secrets-core.js","type":"module","husky":{"hooks":{"pre-push":"npm run lint && npm run test","pre-commit":"npm run lint:staged"}},"engines":{"node":">=22"},"gitHead":"7ce548cbcb1cf6f82347e13491f406c4115297b2","scripts":{"lint":"eslint lib/**/*.js test/**/*.js","test":"c8 node --test test/*.test.js --check-coverage --statements 97.67 --branches 85.71 --functions 100 --lines 97.67","test:ci":"c8 node --test test/*.test.js --check-coverage --statements 97.67 --branches 85.71 --functions 100 --lines 97.67","lint:fix":"npm run lint -- --fix","lint:staged":"lint-staged"},"_npmUser":{"name":"simoneb","actor":{"name":"simoneb","type":"user","email":"simone.busoli@gmail.com"},"email":"simone.busoli@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-secrets-core.git","type":"git"},"_npmVersion":"10.8.2","description":"Simplify development of fastify-secrets plugins","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"20.19.2","dependencies":{"p-map":"^7.0.3","p-props":"^6.0.0","fastify-plugin":"^5.0.1"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.3","husky":"^9.1.7","eslint":"^8.18.0","prettier":"^3.6.2","lint-staged":"^16.1.2","eslint-plugin-n":"^16.0.2","eslint-plugin-import":"^2.32.0","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^10.1.5","eslint-config-standard":"^17.1.0","eslint-plugin-prettier":"^5.5.1"},"_npmOperationalInternal":{"tmp":"tmp/fastify-secrets-core_4.0.0_1751878433990_0.969085749848847","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2020-10-20T08:26:57.872Z","modified":"2026-08-31T10:08:57.495Z","0.0.1":"2020-10-20T08:26:58.014Z","1.0.0":"2020-10-20T12:50:54.527Z","1.0.1":"2020-10-20T16:01:06.271Z","1.1.0":"2020-12-16T11:24:24.900Z","1.2.0":"2022-04-19T14:14:13.186Z","1.2.1":"2022-04-20T16:12:20.679Z","2.0.0":"2022-06-15T14:52:26.804Z","2.1.0":"2023-04-26T12:02:30.732Z","2.1.1":"2023-05-12T16:12:51.916Z","2.1.2":"2023-10-12T15:53:06.693Z","2.1.4":"2023-12-04T13:03:18.257Z","3.0.0":"2024-10-16T08:26:39.282Z","4.0.0":"2025-07-07T08:53:54.180Z"},"bugs":{"url":"https://github.com/nearform/fastify-secrets-core/issues"},"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","homepage":"https://github.com/nearform/fastify-secrets-core#readme","keywords":["fastify","secrets"],"repository":{"url":"git+https://github.com/nearform/fastify-secrets-core.git","type":"git"},"description":"Simplify development of fastify-secrets plugins","contributors":[{"name":"Simone Busoli","email":"simone.busoli@nearform.com"}],"maintainers":[{"email":"eamonn.frisby@nearform.com","name":"eamonn.frisby"},{"email":"donal.moynihan@nearform.com","name":"donal.moynihan"},{"email":"contato@gbdev.me","name":"gbdev13"},{"email":"steve.goode@nearform.com","name":"sociablesteve"},{"email":"ryan@loose-bits.com","name":"ryan.roemer"},{"email":"elizibin@gmail.com","name":"elizibin"},{"email":"chiodi84@gmail.com","name":"paolochiodi"},{"email":"hello@matteocollina.com","name":"matteo.collina"}],"readme":"# Fastify Secrets (core)\n\n![CI](https://github.com/nearform/fastify-secrets-core/workflows/CI/badge.svg)\n\nSimplify development of fastify-secrets plugins\n\n> This module is intended for developers implementing fastify-secrets plugins, not for developers using fastify-plugin in their fastify projects\n\n## Installation\n\n```\nnpm install --save fastify-secrets-core\n```\n\n## Usage\n\n`fastify-secrets-core` simplifies development of `fastify-secrets` plugins and ensures that all plugins implements the same api.\n\nEach plugin must only provide a simple client that interacts with the secrets storage and `fastify-secrets-core` will glue it to fastify.\n\n### buildPlugin\n\nCreate a new fastify plugin by calling `buildPlugin` and providing a client class or constructor and options that will be forwarded to `fastify-plugin`.\n\n`buildPlugin` will return a fastify plugin that can be exported.\n\n#### Example\n\n```js\nconst { buildPlugin } = require('fastify-secrets-core')\nconst Client = require('./client')\n\nconst plugin = buildPlugin(Client, {\n  name: 'fastify-secrets-example'\n})\n```\n\n### Client\n\nThe client that needs to be provided to `fastify-secrets-core` should implement this methods:\n\n- `constructor`\n- `async get(ref)` (required) This will be called to fetch a single secret identified by reference. It's up to the implementation what ref is.\n- `async close()` (optional) This method will be called, if present, when the plugin is done fetching the secrets to give a chance to implementations to close any connection or run any teardown code. No further calls to the `get` method will be run after close.\n\n### Example\n\nThis is a basic client implementation that reads secrets from `process.env`\n\n```js\nclass Client {\n  constructor() {\n    console.log('client contructor')\n  }\n\n  async get(ref) {\n    return process.env[ref]\n  }\n\n  async close() {\n    console.log('client close')\n  }\n}\n```\n\n### Resulting plugin\n\nThe resulting plugin can be registered directly in fastify.\nThese are the available options:\n\n- `secrets` (required). A non-empty object representing a map of secret keys and references, or an array of strings. The plugin will decorate fastify with a `secrets` object with the same keys as this option (for object values) or with the same keys as the array elements (for array values) but will replace the references with the actual values for the secret as fetched with `client.get(reference)`\n- `namespace` (optional). If present, the plugin will add the secret values to `fastify.secrets.namespace` instead of `fastify.secrets`.\n- `concurrency` (optional, defaults to 5). How many concurrent call will be made to `client.get`. This is handled by `fastify-secrets-core` and it's transparent to the implementation.\n- `clientOptions` (optional). A value that will be provided to the constructor of the `Client`. Useful to allow plugin users to customize the plugin.\n\nThe plugin will also expose the original Client for uses outside of fastify (i.e. db migrations and scripts)\n\n#### Example\n\nAssuming a plugin is built as per the previous examples, it can be used as:\n\n```js\nfastify.register(plugin, {\n  namespace: 'db',\n  concurrency: 5,\n  secrets: {\n    user: 'PG_USER',\n    pass: 'PG_PASS'\n  },\n  clientOptions: {\n    optional: 'value'\n  }\n})\n\nawait fastify.ready()\n\nconsole.log(fastify.secrets.db.pass)\n```\n\nOr, with an array `secrets` option:\n\n```js\nfastify.register(plugin, {\n  namespace: 'db',\n  concurrency: 5,\n  secrets: ['PG_USER', 'PG_PASS'],\n  clientOptions: {\n    optional: 'value'\n  }\n})\n\nawait fastify.ready()\n\nconsole.log(fastify.secrets.db.PG_PASS)\n```\n\n#### Refreshing Secrets\n\nIn the event secrets need to be dynamically refreshed, a refresh method is exposed to allow for the refreshing of single, sets, or all secrets scoped to the provided namespace. The signature of the refresh method is as follows:\n\n`async refresh(refs)`\n\n- `refs` (optional). refs can be a single secret, an array of secrets, or left undefined to refresh all secrets belonging to the namespace.\n\nThe most basic example of usage can be seen below,\n\n```js\nfastify.register(plugin, {\n  secrets: ['TOKEN']\n})\n\nawait fastify.ready()\n\nconst refreshedSecrets = await fastify.secrets.refresh() // { 'TOKEN': 'refreshed value' }\n```\n\n##### Namespacing\n\nWhen working with multiple secret providers, it is highly recommended that you scope your secrets by a namespace, this will prevent conflicts with other secret providers and allow for more atomic refreshing if necessary. Note the example below for usage, in particular the `refresh` method is exposed on the registered namespace and not at the root of the secrets object.\n\n```js\nfastify.register(plugin, {\n  namespace: 'aws',\n  secrets: ['TOKEN']\n})\n\nawait fastify.ready()\n\nconst refreshedSecrets = await fastify.secrets.aws.refresh() // { 'TOKEN': 'refreshed value' }\n```\n\n##### Refresh Aliasing\n\nIt's possible that a secret name may conflict with the `refresh` method, in the event this happens you can supply an alias for the refresh function in order to avoid conflicts.\n\n```js\nfastify.register(plugin, {\n  secrets: ['TOKEN'],\n  namespace: 'auth',\n  refreshAlias: 'update'\n})\n\nawait fastify.ready()\n\nconst refreshedSecrets = await fastify.secrets.update() // { 'TOKEN': 'refreshed value' }\n```\n\n## Contributing\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md)\n\n## License\n\nCopyright NearForm Ltd 2020. Licensed under the [Apache-2.0 license](http://www.apache.org/licenses/LICENSE-2.0).\n","readmeFilename":"README.md"}