Skip to content

Remove support for setting content of gitlab-secrets.json  #213

@LongLiveCHIEF

Description

@LongLiveCHIEF

There are many reasons that I believe we should remove support for this feature. They are:

  • these are secrets, and allowing them to be set without any sort of encryption encourages the bad practice of committing the same keys that allow someone to gain access to your database
  • Changes in the admin section of the UI can cause this file to be changed by gitlab itself, and having this file's content managed by puppet would undo those changes during puppet agent runs
  • For HA supported installations, there is no guarantee that the secrets file will be updated on each application role simultaneously, causing users to experience 500 errors

Implementing this change would be a backwards incompatible change, requiring a major version increment.

However, I feel that it is everyone's best interest to remove this feature. I don't want anyone to use it as it currently stands without being fully aware of the security risks that come along with using it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions