Skip to content

Conversation

@leroyguillaume
Copy link

Add new environment variable NEXUS_ADMIN_INIT_PASSWORD to override admin password at the first Nexus start.

If this variable is set, the Nexus start a first time to initialize its files. Once started, it is stopped and the security Orient database is updated. The hash of the password is generated by Apache Shiro CLI. Then, Nexus is restarted.

@smarttang
Copy link

is work??

@leroyguillaume
Copy link
Author

Yes of course! It's used in production 😁

@smarttang
Copy link

smarttang commented Feb 5, 2022 via email

@leroyguillaume
Copy link
Author

Please describe me the steps you do and, if possible, attach the logs of the container

@taliesins
Copy link

@leroyguillaume please rebase this.

In my use case we pre-generate passwords to ensure it meets our security requirements. So we would love to have an easy way to idempotently set the password.

What do we need to do to get this merged @jdillon @ajbrown @mpuglin ?

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.

3 participants