Skip to content

Allow loading all secrets via separate URI #16603

Open
@clarfonthey

Description

@clarfonthey

Right now, the security.INTERNAL_TOKEN_URI option allows loading the security.INTERNAL_TOKEN parameter via a separate file. It would be nice if we could extend this to the other secrets in app.ini as well.

The variables I found that could use this:

  • oauth.JWT_SECRET (currently, JWT_SIGNING_PRIVATE_KEY_FILE is used for RSA and ECDSA, but a separate file cannot be used for HMAC)
  • server.LFS_JWT_SECRET
  • security.SECRET_KEY (Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI #19663)
  • service.{RE,H}CAPTCHA_{SECRET,SITEKEY}
  • storage.MINIO_{ACCESS_KEY_ID,SECRET_ACCESS_KEY} (and similar sections like lfs and attachment)

Note that this is related to (but not the same as) #4860.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions