Skip to content
New issue

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

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

Already on GitHub? # to your account

Allow a dynamic string in user password config #74

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

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%'
@dg dg closed this as completed in d698efe Nov 4, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant