Feature request: configurable AuthenticationSecretFile in addition to existing AuthenticationSecret

Open
#513 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp, docker

Research direction

Start from wherever the existing AuthenticationSecret setting is read in the C# configuration code, and add a sibling option that loads the secret from a file path instead. Issue #510 asks for the same kind of file-based secret, so check it for the desired behaviour. Done means the new setting is accepted, the file's contents are used as the API key, and the existing inline setting still works.

Written by the indexing model from the issue text.

Description

enhancement
Description

Today, I can configure ImmichFrame with an AuthenticationSecret. I'd like to be able to configure ImmichFrame with a path to file containing the api key, in other words, a new AuthenticationSecretFile config.

Use Case

Just like https://github.com/immichFrame/ImmichFrame/issues/510: The existing AuthenticationSecret totally works, but requires embedding secrets in my config file. I prefer to manage my secrets separately, so this would be quite useful.

Details

No response

Pre-Submission Checklist
  • This is a feature request and not a bug report

  • I have checked for related issues and checked the documentation

Dominant language
C#
Stars
2.4k
Forks
121
Avg merge
18d 20h
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from immichFrame/ImmichFrame

All issues in immichFrame/ImmichFrame

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.