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

Support for changing the admin password using terraform #428

Open
1 of 2 tasks
jackmorris-gh opened this issue Mar 1, 2024 · 0 comments
Open
1 of 2 tasks

Support for changing the admin password using terraform #428

jackmorris-gh opened this issue Mar 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jackmorris-gh
Copy link

jackmorris-gh commented Mar 1, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Create a terraform resource to allow the changing of the admin password to support automation.

When deploying a new nexus instance via terraform, we also apply the nexus configuration using terraform, which needs to be via a user with the correct permissions and with a clean instance, this is the admin user.

Rather than getting the password from the nexus instance admin_password file, we could update the user credentials during the creation of the instance and then store these values into a secret store to then be referenced later to create a more fluid deployment.

New or Affected Resource(s)/Data Source(s)

nexus_admin_credentials

Pro feature

  • Yes. Pro license Required

Community Plugin

No response

Potential Terraform Configuration

resource "nexus_admin_credentials" "credentials" {
user_id       = "admin"
password   = "admin123"
first_name = "Admin"
last_name  = "user"
}

References

No response

@jackmorris-gh jackmorris-gh added the enhancement New feature or request label Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Low priority
Development

No branches or pull requests

1 participant