Skip to content

feat: add admin password secret option#326

Draft
bxn-dev wants to merge 1 commit into
opencloud-eu:mainfrom
bxn-dev:feat/306_idm_admin_password_file
Draft

feat: add admin password secret option#326
bxn-dev wants to merge 1 commit into
opencloud-eu:mainfrom
bxn-dev:feat/306_idm_admin_password_file

Conversation

@bxn-dev

@bxn-dev bxn-dev commented Jun 28, 2026

Copy link
Copy Markdown

Draft PR for adding Docker secret support for the initial OpenCloud admin password in the compose setup.

This adds:

  • secrets/idm-admin-password.yml compose override
  • .env.example hint for using the secret override
  • README docs for IDM_ADMIN_PASSWORD_FILE

This depends on server support from:

Related Issue

Motivation and Context

Allows deployments to provide the IDM admin password via Docker secrets / mounted files instead of setting
INITIAL_ADMIN_PASSWORD directly in .env.

This PR should stay as draft until the related server PR is accepted, because IDM_ADMIN_PASSWORD_FILE needs server-side
support first.

How Has This Been Tested?

  • test environment: local checkout on branch feat/306_idm_admin_password_file
  • test case 1: default compose config still renders
docker compose config
  • test case 2: secret override compose config renders
  printf '%s' secret > secrets/idm_admin_password
  COMPOSE_FILE=docker-compose.yml:secrets/idm-admin-password.yml docker compose config
  rm -f secrets/idm_admin_password

Screenshots (if appropriate):

N/A

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation added

Document IDM_ADMIN_PASSWORD_FILE usage via a compose override and Docker secret.\n\nRefs: opencloud-eu#306
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IDM_ADMIN_PASSWORD_FILE options in docker compose

1 participant