Repository navigation
Conversation
Null the password and SSH private key when a database copy is neutralized, so staging/test databases cannot reach production SFTP servers with live credentials. Assisted-by: Devin:SWE-2 Flash Medium
Null the FTP password when a database copy is neutralized, so staging/test databases cannot reach production FTP servers with live credentials. Assisted-by: Devin:SWE-2 Flash Medium
Null the AWS secret access key when a database copy is neutralized, so staging/test databases cannot reach production S3 buckets with live credentials. Assisted-by: Devin:SWE-2 Flash Medium
dreispt
force-pushed
the
19.0-neutralize-backend-credentials
branch
from
November 11, 2026 14:46
d890044 to
d827e53
Compare
3 tasks
Member
Author
|
Improvement idea: the neutralization could be sensitive to ENV variables and support setting alternative credentials on staging/test envs provided by the system ENV? |
lmignon
approved these changes
Nov 13, 2026
simahawk
approved these changes
Nov 13, 2026
Contributor
I would recommend using https://github.com/camptocamp/confidoo for that. |
Contributor
|
This PR has the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
data/neutralize.sqlto the implementedstorage.backendtypes so that database copies made with Neutralize cannot reach production servers with live credentials:storage_backend_sftp: clearssftp_passwordandsftp_ssh_private_keystorage_backend_ftp: clearsftp_passwordstorage_backend_s3: clearsaws_secret_access_keyOnly secret material is removed — hosts, ports, logins and buckets are kept so backends stay inspectable and can be re-pointed at test environments. Same pattern as
microsoft_drive_account.Test plan
storage.backendrecordsAssisted-by: Devin:SWE-2 Flash Medium