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

Create superadmin from env variables if they exist #279

Closed
dantium opened this issue Mar 20, 2020 · 0 comments
Closed

Create superadmin from env variables if they exist #279

dantium opened this issue Mar 20, 2020 · 0 comments
Milestone

Comments

@dantium
Copy link

dantium commented Mar 20, 2020

Is your feature request related to a problem? Please describe.
Superadmin details such as the password are fixed during initial creation - for security and ease of use during deployment it might be good to have a way to set them to something unique.

Describe the solution you'd like
It would be nice to have the option for the superadmin user to automatically be created with details from env variables if they exist and if not just use defaults.

For clarity the env variables could be prepended with VENDURE_ i.e: VENDURE_SUPER_ADMIN_USER_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

2 participants