Open ragnarbull opened 8 months ago
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Our GitHub checks need improvements? Share your feedbacks!
Any news about this PR? I would be so nice to have the secret referencing in the node SDK.
Any news about this PR? I would be so nice to have the secret referencing in the node SDK.
hi @devilmark84 the code I've submitted works well for pulling multiple secrets with nested references (like the examples) - feel free to refactor it if you want to fetch a single secret and edit this PR. but I won't be submitting new code to infisical...
@dangtony98 can you fix this PR up so it can be merged pls.
Any news about this PR? I would be so nice to have the secret referencing in the node SDK.
hi @devilmark84 the code I've submitted works well for pulling multiple secrets with nested references (like the examples) - feel free to refactor it if you want to fetch a single secret and edit this PR. but I won't be submitting new code to infisical...
Thank you very much for your work on the code! I'd like to understand what's behind this sentence: "I won't be submitting new code to infisical..."
Will shoot to review/merge this sometime in the next week folks.
Will shoot to review/merge this sometime in the next week folks.
Any news?
@devilmark84 Probably sometime end of week; there's a lot of ongoing development at the moment across the codebase.
@devilmark84 Probably sometime end of week; there's a lot of ongoing development at the moment across the codebase.
Any news? This feature is so important...
Currently the Node SDK doesn't support secret referencing. This PR fixes Issue #18
Each of these secrets should resolve to: "DEEPLY_NESTED_SECRET".
The FULL_HOST secret should resolve to: "https://www.infisical.com" (ie. a URL).
In a "db-secrets" folder in the "dev" directory:
Then in the "dev" directory:
MONGO_URL = mongodb://${dev.db-secrets.USERNAME}:${dev.db-secrets.PASSWORD}@${HOSTNAME}:${dev.db-secrets.PORT}/${dev.db-secrets.DB_NAME}
The MONGO_URL secret should resolve to: "mongodb://admin2023:Supersecret123@www.infisical.com:4000/dev" (ie. a Mongo DB connection URI).
A development file (dev.js) is included to assist with creating & fetching secret references. Unit tests have been updated & fix applied for one.
TODO: