Add environment variable to override admin password#136
Open
leroyguillaume wants to merge 1 commit intosonatype:mainfrom
Open
Add environment variable to override admin password#136leroyguillaume wants to merge 1 commit intosonatype:mainfrom
leroyguillaume wants to merge 1 commit intosonatype:mainfrom
Conversation
|
is work?? |
Author
|
Yes of course! It's used in production 😁 |
|
I used but not work.....
发自我的iPhone
… 在 2022年2月5日,下午8:19,Guillaume Leroy ***@***.***> 写道:
Yes of course! It's used in production 😁
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.
|
Author
|
Please describe me the steps you do and, if possible, attach the logs of the container |
|
@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 ? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add new environment variable
NEXUS_ADMIN_INIT_PASSWORDto 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.