I have been searching for a while now on a way to encrypt in bitbucket server. My repo has passwords in some automation code and I'm not allowed to have it there.
So, At the moment I'm using git-crypt and that's working for me until I have hit an issue that I'm not able to have git-crypt in my jenkins pipelines nodes. So, I'm trying to revisit the way I'm encrypting things. Would be very handy to have an encrypt in bitbucket then decrypt jenkins with keys or on my local clone.
Thanks in advance for any tips!
Bishoy Mushraky
Hey Bishoy!
Unfortunately, Bitbucket Server doesn't provide any mechanism for encryption. That's something that would have to be done on the client side and, as you already mentioned, can cause problems when the code has to be shared.
Another user proposed something similar in the past, you can read more on this thread.
Let us know if you need anything else,
Ana
Thanks, Ana! The feature request is closed as it seems.
I have started using Ansible Vault to encrypt only the sections of the files that have passwords before pushing it.
Bishoy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.