feat: add support for using secret files for basic auth password

This commit is contained in:
Stavros
2025-07-07 23:31:51 +03:00
parent 7e604419ab
commit f48bb65d7b
2 changed files with 11 additions and 5 deletions

View File

@@ -109,7 +109,13 @@ type OAuthLabels struct {
// Basic auth labels for a tinyauth protected container
type BasicLabels struct {
Username string
Password string
Password PassowrdLabels
}
// PassowrdLabels is a struct that contains the password labels for a tinyauth protected container
type PassowrdLabels struct {
Plain string
File string
}
// IP labels for a tinyauth protected container