3 ms·
Secrets in code is bad practice because it puts the secrets in source control and gives them to anyone with access to the code. You separate out the secrets to
by Aurornis 3y ago
Secrets in code is bad practice because it puts the secrets in source control and gives them to anyone with access to the code.
You separate out the secrets to keep them secret.
- revskill 3y agoNext evolution of Git should automatically introspect the code base for comment to leaving out all "secrets". My point is, make the code easy to clone in a runnable shape wihtout any hacking on host system.
- gdprrrr 3y agoYou can configure GitLab to reject the push if you comitted secrets, based on regex marching with common formats for tokens.