Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow a dynamic string in user password config #74

Open
MiChAeLoKGB opened this issue Jun 19, 2024 · 0 comments
Open

Allow a dynamic string in user password config #74

MiChAeLoKGB opened this issue Jun 19, 2024 · 0 comments

Comments

@MiChAeLoKGB
Copy link

SecurityExtension->getConfigSchema expects password to be a string, instead of a dynamic string.

Because of this, there is no way to use environment variables to do a simple user setup in e.g. k8s.

You could make a custom authenticator, store values in DB etc., but there are apps where you basically have a single admin, and rest of the app is public (so no user auth needed).

In such cases, being able to use following config would be really helpful:

security:
	users:
		admin: '%env.admin_password%'
security:
	users:
		admin: 
			password: '%env.admin_password%'
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

No branches or pull requests

1 participant