Admin CLI does not resolve Compose *_FILE secrets #112
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/starintel-server#112
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Observed
In the deployed Compose container,
STAR_AUTH_PEPPER_FILE=/run/secrets/auth_pepperandCOUCHDB_PASSWORD_FILE=/run/secrets/couchdb_passwordare present and readable. The normal server entrypoint resolves those files before starting the service, but invoking the documented local admin command directly throughdocker execfails:The command only works after manually exporting the secret file contents into
STAR_AUTH_PEPPERandCOUCHDB_PASSWORD.Expected
star-server adminshould honor the same*_FILEsecret configuration as the normal server startup, or the server-local administration documentation should provide an official safe wrapper for Compose deployments.Reproduction
docker exec <star-server> /bin/star-server admin user list.No secret values are required to reproduce this.
Impact
Host-local user and API credential administration is not directly usable in the deployed container without manually handling secret material, which is error-prone for bootstrap and recovery operations.
Observed on application revision
8f6e50701081f0335c7552082dba5ff392b859e5.