Creation of secret files via UI #2298
Closed
yeahthegoys
started this conversation in
Ideas
Replies: 1 comment
|
Created feature request using issue template. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello again!
I like docker secrets but they are always a pain to setup for a new project, manually SSH'ing into the box and creating a bunch of files to put values in and setting the permissions on, and editing them later is just as inconvenient.
I would love, if in a project's configuration tab, there was a +New project secret button. When used it would expose all the default fields needed for the short secret syntax (i.e. just the name, and value. Arcane to handle the actual file path under the hood, in the same dir as the compose.yaml and .env, or maybe a subdir). Optionally, you could have an advanced toggle which exposes all the possible fields (name (source), value, target (filename, no paths allowed), uid, gid, mode)
With this, creating underlying docker secrets on the filesystem is easy for the user, and they can then easily reference them in the project's yaml config.
Obviously include the ability to edit or delete existing secrets etc.
I think this also encourages people to use secrets, I know a great deal of homelabbers probably don't bother.
Food for thought?
All reactions