atlassian / terraform-provider-artifactory

Terraform provider to manage Artifactory
Apache License 2.0
89 stars 42 forks source link

Add Password Input to User Resource #27

Closed codingdiaz closed 5 years ago

codingdiaz commented 5 years ago

Community Note

Description

When creating a user resource it would be useful to be able to specify a password. This could be a randomly generated password. How exactly would you get the password after creating a user? (assuming that an admin would have to login and reset the password the way this currently works?)

New or Affected Resource(s)

NA

Potential Terraform Configuration

# Create a new Artifactory user called terraform
resource "artifactory_user" "test-user" {
  name   = "terraform"
  email  = "test-user@artifactory-terraform.com"
  groups = ["logged-in-users", "readers"]
  password = "somerandompassword"
}

References