{"_id":"fastify-secrets-gcp","_rev":"35-c3d25f2995e79b5f0b6db3a7daa8b560","name":"fastify-secrets-gcp","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"fastify-secrets-gcp","version":"1.0.0","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-gcp@1.0.0","maintainers":[{"name":"paolochiodi","email":"chiodi84@gmail.com"}],"homepage":"https://github.com/nearform/fastify-secrets-gcp#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-gcp/issues"},"dist":{"shasum":"f544e2544f0d3e89cf0910fe878c8637bfc4448f","tarball":"https://registry.npmjs.org/fastify-secrets-gcp/-/fastify-secrets-gcp-1.0.0.tgz","fileCount":12,"integrity":"sha512-JAZ+Z882vfwASg9icxEclfjuaHsdf1Btdlm664JSjctIPBAg9zgP7BnkOEpq0zIKjtTq4zpYf3KXX5WHRCUpHA==","signatures":[{"sig":"MEUCIAkktPaTeU36aI7p0hKt/bFWKWAo/DneMSNZqT7MDtciAiEAjzDY5DzPZV5vWuomDwdYpXZ/1ShuQ5CD2NLppwZE5hA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15748,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjuVhCRA9TVsSAnZWagAAdM8P/ipWaYqvc3ajRkfMIui5\npTe8yTFemYCWHWt6RMBA2au8dQ/jKDMsFhSk3bodOqgAdQt+TFwV2MSFkyKR\n5YP9sT1PwAu3kJLpIgBzss8VYAtu1m+TgiwOQxIENDu1UHXNH68mq49Q/2GF\nAprSH9Z45H6tRDAH3etp/q6/SeGIW4SK+r5cLaaCMBgfsFIMVFiJx9cQ1REG\nzwkVZFQYjvuHXHUESCmcO12jp+DxXCmwX9BM0tm/lO0bepkMcg8QTaWrnELO\nSOCrs2RixwkdEohF/1NgKA17ajzVJ9pguAx9VExhKrxdOcfoo5W/mfI6cymu\nD4ibt58gKYcK/ZLX5ns+l43ub6kiSf/lEDBiiWCW2Wu3p51GUjhm33pJV1lx\nIO5UYtXwvD590wb1hKh2BYPEFQdLgs9PkHxrrJtYSHigdJEbMd39TEiTCbfT\nFhLHw98QdT8vgxtzSIhk45UY7RimV+4SFjuF/pe190YH31/1YMbEQAxvTCce\nsedFI1UAfv1q3rsVKUl87Zpjq/afAAfjkhkYGw3KkZjC8FixZww/aVlBkNqN\n1L6BYOWldayvrjgNTSVCJAw0VaUAKNLLihbD9Ww72igfDRIxjFM3RfjeYkSv\nbRrmno9O71W5c3h5h9IFQYXRTBkjgWDBEh1YuQEcNmo91aFNKvoH/5THSjl0\naKBW\r\n=Oana\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/fastify-secrets-gcp.js","husky":{"hooks":{"pre-push":"npm run lint && npm run test","pre-commit":"npm run lint:staged"}},"engines":{"node":">= 12.13.0"},"gitHead":"769e78aff77ad8bec1306de2f04938f90b63670f","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-gcp.git","type":"git"},"_npmVersion":"6.14.5","description":"Fastify secrets plugin for Google cloud platform secrets manager","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"14.5.0","dependencies":{"fastify-secrets-core":"^1.0.0","@google-cloud/secret-manager":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^14.10.8","uuid":"^8.3.1","husky":"^4.3.0","sinon":"^9.2.0","eslint":"^7.11.0","fastify":"^3.6.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-gcp_1.0.0_1603200353495_0.4513543070648134","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"fastify-secrets-gcp","version":"1.0.1","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-gcp@1.0.1","maintainers":[{"name":"paolochiodi","email":"chiodi84@gmail.com"}],"homepage":"https://github.com/nearform/fastify-secrets-gcp#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-gcp/issues"},"dist":{"shasum":"e4879d0c3633a97ae8a1d57a744a736b6c3f24d1","tarball":"https://registry.npmjs.org/fastify-secrets-gcp/-/fastify-secrets-gcp-1.0.1.tgz","fileCount":13,"integrity":"sha512-kWLP3NshFQoYjhBXK/iYgjkHggzQITN9eHMDWLxXnEhSvSUljr5nXVrC3n0IOC97KP15umfU2mPfjBt5T6mR4A==","signatures":[{"sig":"MEYCIQDR/oupRa4SmZXO9gd4TiVQXa/mQKb4XwVIh+NmhK1rsgIhALVkhlmCQsKQB2VF+cziZQWKR0tV7dFCwnRtVV0mHJYi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfj+WKCRA9TVsSAnZWagAASakP/2/4xoB5fO0Tzy4QIZcM\nOSWtxv3NoLT9bQhTZVIrdnIgtyrGmAe80Oz1hcRKIElf2XRkeo8jR00xCHOq\nd62DyKL1t3DZWn0nU7kESVdFmMl4zKgsrkxr6ioEqdlcU4r9BlPFutYlrpXy\ndzK67u9Pr1oieVBK+MhzADsyIGNvJVXyJWjHKsmq7Mh3JDKZFSTcJOavcnWE\n1YMuk1JZ6JrSB3QKxduq5dlRg+g8QCSDUtE8fsbxypDrb+kOriN27gDktW0I\nLCEW9CIqgO6Ao4n2GLGzbRgKC+wzm6PPTExZ7VrsxzwcirdeuSht+ntJY3KW\nCm2mCwDqJZoCFWukP3cJWUusFm9mPNtdaaFOdmhokN8Beju/+7gNmS8oBQiR\nNKsJIMuo39GeCN3nSsM+SjiS3ZE4B+W8IstQA26LkkHOO8Cy3uPaYiVkE/yH\nSDw5HuJ/OFDkWYsAU8FeShbRnByIbqpV+tkBmbE4MHRSnf1ldByS1iZHgvhW\nMwf/O90o5slRRlYvAW9qsN6/BN4EibBD8y23MEi/V/lVZxbzDUZIwvshrFM2\npCoanXu6PlaUqsl6MUXhI5AhaqEFi00QBqaJYAr9y/tBXIJ3Mb/Rt9mocJz6\nHdM/hI+7M4SlM5BSfdQ6YaiU0l41tm5UwKPFqMsVLvkCd64r/d7AMT85Tf6E\nFNjc\r\n=v8CT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/fastify-secrets-gcp.js","husky":{"hooks":{"pre-push":"npm run lint && npm run test","pre-commit":"npm run lint:staged"}},"engines":{"node":">= 12.13.0"},"gitHead":"7bbb215ecabdab3ea663f29223a78be6177b5dd2","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-gcp.git","type":"git"},"_npmVersion":"6.14.5","description":"Fastify secrets plugin for Google cloud platform secrets manager","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"14.5.0","dependencies":{"fastify-secrets-core":"^1.0.1","@google-cloud/secret-manager":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^14.10.8","uuid":"^8.3.1","husky":"^4.3.0","sinon":"^9.2.0","eslint":"^7.11.0","fastify":"^3.6.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-gcp_1.0.1_1603265929555_0.8285908805086397","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"fastify-secrets-gcp","version":"2.0.0","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-gcp@2.0.0","maintainers":[{"name":"micheleriva","email":"master@micheleriva.it"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"jimmymintzer","email":"jimmymintzer@gmail.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"}],"homepage":"https://github.com/nearform/fastify-secrets-gcp#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-gcp/issues"},"dist":{"shasum":"a25657a2d83307ed13dd46366934116ecd271d62","tarball":"https://registry.npmjs.org/fastify-secrets-gcp/-/fastify-secrets-gcp-2.0.0.tgz","fileCount":16,"integrity":"sha512-JvCWTKojeZuYQApNy2Fu4/Fi9I1zdfDjHgs78Dx2MaZ4jxzrfwcq9psEAHFbluC6aGZdEz5ZG0yrmwvz9yRdBw==","signatures":[{"sig":"MEUCIQDoGAsV3Qm2Ndi/ATw9UjCcmscaPeb0pDHQXWZ6Y1nq8QIgSGIX31+IsTfxHnK07KohJRdPTtkrv57ooPGNkxR/f9A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJisGl7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqE5A/9HHCreqG3eylyHlwBGD7LwZ8p4Csp+i3OKXcHcRBdfzfmTbCi\r\n95noAWRpJRat8OJczkEhpULA5Xo2wFMBETDxcNC6tcoBoquEFBk9NrqDcQto\r\naZS4bWMWCECBDTgTZUy48rY3SpcKOcxyf6ircm3uvaSVd5lBoSNROEedwEIj\r\nOdXIHY8dQnUBW/GRw0zV4LqSCmKR+Y2tv+Qi7iCARaS+fp71pmSFYEUpWe1J\r\nfFfiGeEYXhg4G7Q9eZktpn9Y5qBPH30QNm7tzX6m0gVZNaCLiz13Gj8SG0NH\r\nmBHF+BkHUiTEjn5691Q1wOqXG9pPU5mA5JoBgtoGxa9MU+f6HMi2+sjA/D4h\r\n4JK70fLG14M44CdC9O1RsiRNVWkrCqNt+9uEs5NG3kjUHgV4Uc8nbQaFf0VJ\r\ndBt6SjjFQQGyeMa+W1yWlBo4TbqHknpReo+t7qHRDi2gI+UI7otLTDm5S6Jq\r\nxA2scq5eab1o2tajnqfYg3DNQ6i94sqMvLRdEG78e0QlswwaAucsetc/EZTB\r\nf9LL2NFy3Rd1MHSzDH7KfUGsBDKF0+mVKqszXCpPMMJh+saFSf1Bn+B6xiZR\r\nyhk3Fj3a7pTUb5O4KKjLKcR0P9wiBqukXWCJCglDFqmhMR30YHcefddqmhvd\r\nF84H37pEBwaXMkAPDtY/Ut5CZW7+fKaup6o=\r\n=ecaf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/fastify-secrets-gcp.js","husky":{"hooks":{"pre-commit":"npm run lint:staged"}},"engines":{"node":">= 12.13.0"},"gitHead":"b8477d93d87342a3d431997e0fe0b63bd771b4e0","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":"simoneb","email":"simone.busoli@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-secrets-gcp.git","type":"git"},"_npmVersion":"8.11.0","description":"Fastify secrets plugin for Google cloud platform secrets manager","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"16.15.1","dependencies":{"fastify-secrets-core":"^2.0.0","@google-cloud/secret-manager":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.0.2","uuid":"^8.3.1","husky":"^8.0.1","sinon":"^14.0.0","eslint":"^8.17.0","fastify":"^4.0.3","prettier":"^2.1.2","proxyquire":"^2.1.3","lint-staged":"^13.0.1","eslint-plugin-n":"^15.2.3","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.0.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-secrets-gcp_2.0.0_1655728507339_0.6318565715450255","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"fastify-secrets-gcp","version":"2.1.0","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-gcp@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"}],"homepage":"https://github.com/nearform/fastify-secrets-gcp#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-gcp/issues"},"dist":{"shasum":"13ea6b1d14783d066e7645a5be31709d1185296e","tarball":"https://registry.npmjs.org/fastify-secrets-gcp/-/fastify-secrets-gcp-2.1.0.tgz","fileCount":17,"integrity":"sha512-LGKydSt6IRrUTqU+773S1WXok+Q9I7cbAGsIvChoQ+nSlZpmJ5UQJ+RrGLe4THILsGV674cpInnJPD0gaB+OQA==","signatures":[{"sig":"MEQCIEnmdOnhE0vIbfaPnz8kspiQ75G/mmHhDE1nGh9MASfmAiB5759qSbdPFxFq3gBIDc7o3U0CZKPm+gvTSh/VhU+kfg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17760,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSRMWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpzHw/+I9OihnlZf9pgmWc9F33EC4W2l62+XxQ+0qkAA2O1WFgg8n7h\r\n137xaO3c5yWWH3Tl7hwVqNVoGdmCKDEsTwaAg9SEogAV12ojYve1F64MYOSU\r\nmXf1KsuIHJEtuefA85bNUzkqsyIPHKeHqHRCKckG6vqRY7oVS7x0XzrUBCnu\r\nQjk0a51CT1kQW4lgJXaTM/P6mFPNsmbICFRwhI8IoVUGZv0VVlzUU4DJ63Pw\r\np+iou4Pbvu1PVeGju6YaNUN1STm4r6PIrh5Ve2fZMgaao9erKvb25A3WQzIf\r\nS3v2Pk7hbfMLHe6/c6KLyzOF0WKZseajzBZJXNS6hDrc7EoJHhK7B3Ivu3xQ\r\nyAxEdjqEEWWZx+6K+9dtfElu86lKH85upRohbsDx1h+cSUzKXDrk1o/l32UN\r\npOlbgIjrKYABSVgTJ6T4QUcTemLMc909qvWLQtrofhKqEHNTOIjWPU3r2eKg\r\nODfxeENT3KAbHO9vcy8mRoFhPQGvQbhv29HJ97qzO21o897zu0EzHv7Kj7oR\r\nYDIoGiZ1iK39jvM1aDET9l2GhgzVIhxksoM0qNkkVft2qvtQ9Gr0512YNae1\r\nRmxPNtBTFip8+kfvVldttUx5bxU48fAL6h2pb15yhDkTBbskreN6RtxnKHEj\r\nl9bd2Ami8T7tcSq+jqZ1gs+mHuvlJ+P9ioQ=\r\n=FTTG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/fastify-secrets-gcp.js","husky":{"hooks":{"pre-commit":"npm run lint:staged"}},"engines":{"node":">= 12.13.0"},"gitHead":"126ab7c29e9b548a76c00c35e6b3ca8530ebfbfc","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":"simoneb","email":"simone.busoli@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-secrets-gcp.git","type":"git"},"_npmVersion":"9.5.1","description":"Fastify secrets plugin for Google cloud platform secrets manager","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"18.16.0","dependencies":{"fastify-secrets-core":"^2.0.0","@google-cloud/secret-manager":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.0.2","uuid":"^9.0.0","husky":"^8.0.1","sinon":"^15.0.0","eslint":"^8.17.0","fastify":"^4.0.3","prettier":"^2.1.2","proxyquire":"^2.1.3","lint-staged":"^13.0.1","eslint-plugin-n":"^15.2.3","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.0.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-secrets-gcp_2.1.0_1682510614240_0.5059089773445224","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"fastify-secrets-gcp","version":"2.1.1","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-gcp@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"}],"homepage":"https://github.com/nearform/fastify-secrets-gcp#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-gcp/issues"},"dist":{"shasum":"7dcfc6aa2440abb670097e2c22f8331bdc7b3dc7","tarball":"https://registry.npmjs.org/fastify-secrets-gcp/-/fastify-secrets-gcp-2.1.1.tgz","fileCount":17,"integrity":"sha512-UlZkzw7LA68dSbw7CdKKZQ8anorNSN8Ypo3Sx56qRRjzCvwqPf1FeLfOzxqX2j8A6EA0ieiD1as+USrnLFoUGQ==","signatures":[{"sig":"MEQCIB5KEvF/wuB2SRNTly3Lj2X53fYBsUfGauUfdwi9j0CJAiBl+HmczM4Aa+JZVAwUgjoIs00KsaDRb2NQI3EaErhx3g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fastify-secrets-gcp@2.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":17957},"main":"lib/fastify-secrets-gcp.js","husky":{"hooks":{"pre-commit":"npm run lint:staged"}},"engines":{"node":">= 12.13.0"},"gitHead":"0284526301b67ccd406d03e97c7bb03cb8205b9d","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":"simoneb","email":"simone.busoli@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-secrets-gcp.git","type":"git"},"_npmVersion":"9.5.1","description":"Fastify secrets plugin for Google cloud platform secrets manager","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"18.16.0","dependencies":{"fastify-secrets-core":"^2.0.0","@google-cloud/secret-manager":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.0.2","uuid":"^9.0.0","husky":"^8.0.1","sinon":"^15.0.0","eslint":"^8.17.0","fastify":"^4.0.3","prettier":"^2.1.2","proxyquire":"^2.1.3","lint-staged":"^13.0.1","eslint-plugin-n":"^15.2.3","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.0.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-secrets-gcp_2.1.1_1683876799818_0.4759434881583835","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"fastify-secrets-gcp","version":"2.2.0","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-gcp@2.2.0","maintainers":[{"name":"williamlines","email":"williamlines42@gmail.com"},{"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"}],"homepage":"https://github.com/nearform/fastify-secrets-gcp#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-gcp/issues"},"dist":{"shasum":"a13ef03d445978283072a6b534c2d76af9c9c1a3","tarball":"https://registry.npmjs.org/fastify-secrets-gcp/-/fastify-secrets-gcp-2.2.0.tgz","fileCount":17,"integrity":"sha512-0IlMEHnqZRpLLFmiW1ORSVWt9vkVtSKIreTyvDqi9sP7LScF8MBrGENbFFQZanVnivzZBHDScnzDG1kuI0ZsVQ==","signatures":[{"sig":"MEUCIQCaBFaVJBnNFP/ryBMPpFfv6euPSIG4QDuSXT+mcDgWWAIgSMq6n/Rpds3MBiUkaNOv/6K0cbDewte1fTj2oTRFtns=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fastify-secrets-gcp@2.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":17864},"main":"lib/fastify-secrets-gcp.js","husky":{"hooks":{"pre-commit":"npm run lint:staged"}},"engines":{"node":">= 12.13.0"},"gitHead":"44d1ed574b3f6cd3b8bfb54c62f9d0a43d34bd31","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":"williamlines","email":"williamlines42@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-secrets-gcp.git","type":"git"},"_npmVersion":"9.6.7","description":"Fastify secrets plugin for Google cloud platform secrets manager","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"18.17.0","dependencies":{"fastify-secrets-core":"^2.0.0","@google-cloud/secret-manager":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.0.2","uuid":"^9.0.0","husky":"^8.0.1","sinon":"^15.0.0","eslint":"^8.17.0","fastify":"^4.0.3","prettier":"^2.1.2","proxyquire":"^2.1.3","lint-staged":"^13.0.1","eslint-plugin-n":"^16.0.0","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.0.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-secrets-gcp_2.2.0_1691079301170_0.741080510810759","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"fastify-secrets-gcp","version":"2.2.1","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-gcp@2.2.1","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"}],"homepage":"https://github.com/nearform/fastify-secrets-gcp#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-gcp/issues"},"dist":{"shasum":"65a94d3accd76a16500ba02b7af2c7b511cb2340","tarball":"https://registry.npmjs.org/fastify-secrets-gcp/-/fastify-secrets-gcp-2.2.1.tgz","fileCount":17,"integrity":"sha512-K9+FlrpPoz7j61lafBGQf2oGomyfYGDzjU5js2bdKC/WsAGoKGStn7xgW3Q6uW2ylGFJXlyVZSfCz0aVmcBIdg==","signatures":[{"sig":"MEQCIEMd0Xaw2UrKh1yYwbRyenVs2/8zyGBq7OzUnUdA7EUiAiBFLpdIspunL2G29dHtzmzBAz4Zg/JvKpz0cmc1gqKT6w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fastify-secrets-gcp@2.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17864},"main":"lib/fastify-secrets-gcp.js","husky":{"hooks":{"pre-commit":"npm run lint:staged"}},"engines":{"node":">= 12.13.0"},"gitHead":"554b692c546e0d7790c8e79ea91cce8d90d01106","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":"bpantha","email":"birajpanta112@gmail.com"},"repository":{"url":"git+https://github.com/nearform/fastify-secrets-gcp.git","type":"git"},"_npmVersion":"9.8.1","description":"Fastify secrets plugin for Google cloud platform secrets manager","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"18.18.0","dependencies":{"fastify-secrets-core":"^2.0.0","@google-cloud/secret-manager":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.0.2","uuid":"^9.0.0","husky":"^8.0.1","sinon":"^15.0.0","eslint":"^8.17.0","fastify":"^4.0.3","prettier":"^3.0.1","proxyquire":"^2.1.3","lint-staged":"^14.0.0","eslint-plugin-n":"^16.0.0","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^9.0.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^5.0.0","eslint-plugin-standard":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-secrets-gcp_2.2.1_1696951319813_0.20323679311086917","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"fastify-secrets-gcp","version":"3.0.0","keywords":["fastify","secrets"],"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","_id":"fastify-secrets-gcp@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"}],"homepage":"https://github.com/nearform/fastify-secrets-gcp#readme","bugs":{"url":"https://github.com/nearform/fastify-secrets-gcp/issues"},"dist":{"shasum":"394f678acc1e3c6a1e3bfe41e7d714622b4eaac0","tarball":"https://registry.npmjs.org/fastify-secrets-gcp/-/fastify-secrets-gcp-3.0.0.tgz","fileCount":17,"integrity":"sha512-KxOh8YtVyHfhpFuYC4v1iud5G4UkqicKKR6og84AoVMj7fmjl0WRoPIZId8fxW7gS7+tecGS55qNc2WDwHzFLQ==","signatures":[{"sig":"MEYCIQDiKghaNb2QbUgB3+EqA762+cN7HvnYo6qAQAXGyoPomgIhAKj1FGlthSouN2VcYBJ1CuUAP9l6dJbNrtlCteMlIlnx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fastify-secrets-gcp@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17549},"main":"lib/fastify-secrets-gcp.js","husky":{"hooks":{"pre-commit":"npm run lint:staged"}},"engines":{"node":">= 20"},"gitHead":"a06c49db2a3f7030b814cd006fac320a5e034934","scripts":{"lint":"eslint lib/**/*.js test/**/*.js","test":"node --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-gcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Fastify secrets plugin for Google cloud platform secrets manager","directories":{},"lint-staged":{"*.js":["eslint --fix","prettier --write"]},"_nodeVersion":"18.20.5","dependencies":{"fastify-secrets-core":"^3.0.0","@google-cloud/secret-manager":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"uuid":"^11.0.2","husky":"^9.0.11","sinon":"^19.0.2","eslint":"^8.17.0","fastify":"^5.0.0","prettier":"^3.0.1","proxyquire":"^2.1.3","lint-staged":"^15.2.10","eslint-plugin-n":"^16.0.0","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^9.0.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^5.0.0","eslint-plugin-standard":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-secrets-gcp_3.0.0_1732269005305_0.33358026368819416","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-10-20T13:25:53.494Z","modified":"2026-06-25T17:01:40.789Z","1.0.0":"2020-10-20T13:25:53.602Z","1.0.1":"2020-10-21T07:38:49.821Z","2.0.0":"2022-06-20T12:35:07.512Z","2.1.0":"2023-04-26T12:03:34.406Z","2.1.1":"2023-05-12T07:33:19.965Z","2.2.0":"2023-08-03T16:15:01.330Z","2.2.1":"2023-10-10T15:22:00.162Z","3.0.0":"2024-11-22T09:50:05.471Z"},"bugs":{"url":"https://github.com/nearform/fastify-secrets-gcp/issues"},"author":{"name":"NearForm Ltd"},"license":"Apache-2.0","homepage":"https://github.com/nearform/fastify-secrets-gcp#readme","keywords":["fastify","secrets"],"repository":{"url":"git+https://github.com/nearform/fastify-secrets-gcp.git","type":"git"},"description":"Fastify secrets plugin for Google cloud platform secrets manager","maintainers":[{"email":"simone.busoli@gmail.com","name":"simoneb"},{"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"}],"readme":"# Fastify Secrets Gcp\n\n[![ci](https://github.com/nearform/fastify-secrets-gcp/actions/workflows/ci.yml/badge.svg)](https://github.com/nearform/fastify-secrets-gcp/actions/workflows/ci.yml)\n\nFastify secrets plugin for Google cloud platform secrets manager\n\n## Installation\n\n```\nnpm install --save fastify-secrets-gcp\n```\n\n## Usage\n\n### Get permissions to access gcp secrets manager\n\nIn order to be able to read from gcp secrets manager you will need some permissions.\nYou will also probably manage permissions in different ways in local dev and production environment.\n\n#### Local dev environment\n\nIn general you may want to use a different secrets manager on your local machine (i.e. `fastify-secrets-env` to read secrets from env variables).\n\nIf you want run `fastify-secrets-gcp` in the local environment too you will need to follow these steps:\n\n1. Create a GCP Service Account\n2. Grant the new service account at least the role of \"Secret Manager Secret Accessor\"\n3. Create key for the account\n4. Download the key in json format\n5. (optional) Place the key in the root of your project (make sure to add it to `.gitignore` to avoid commiting it)\n6. Set the env variable `GOOGLE_APPLICATION_CREDENTIALS` to the absolute path of the downloaded key\n7. You're ready to run your app\n\n#### Production environment (on Cloud Run)\n\nIf you already have a custom Service Account for your service Clour Run you will need to give it access to Secrets Manager.\nOtherwise you will need to create a new custom Service Account with access to Secrets Manager and assign it to Cloud Run.\n\nIn any case you will need to grant the \"Secret Manager Secret Accessor\" role.\n\n### Add plugin to your fastify instance\n\n```js\nconst FastifySecrets = require('fastify-secrets-gcp')\n\nfastify.register(FastifySecrets, {\n  secrets: {\n    dbPassword: 'projects/PROJECT-ID/secrets/SECRET-ID/versions/latest'\n  }\n})\n```\n\n### Access you secrets\n\n```js\nawait fastify.ready()\n\nconsole.log(fastify.secrets.dbPassword) // content of projects/PROJECT-ID/secrets/SECRET-ID/versions/latest\n```\n\n### Plugin options\n\nThe plugin only expect the `secrets` object in the options.\n\nIt is a map of keys and resource ids for the secrets. `fastify-secrets-gcp` will decorate the fastify server with a `secrets` object where keys will be the same keys of the options and the value will be the content of the secret as fetched from GCP Secrets Manager\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"}