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

Terraform Ephemeral Resources : AD user password provisioning #1586

Open
mpender opened this issue Dec 12, 2024 · 0 comments
Open

Terraform Ephemeral Resources : AD user password provisioning #1586

mpender opened this issue Dec 12, 2024 · 0 comments

Comments

@mpender
Copy link

mpender commented Dec 12, 2024

Community Note

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

Description

With the support of Terraform Ephemeral Resources, can you please look at adding support for Azure AD user password provisioning

New or Affected Resource(s)

azuread_user

Potential Terraform Configuration

ephemeral "azuread_user_password" "password" {
  password = "Some generated random string"
}

resource "azuread_user" "example" {
  user_principal_name = "jdoe@hashicorp.com"
  display_name        = "J. Doe"
  mail_nickname       = "jdoe"
  password            =  ephemeral.azuread_user_password.password.password
}

References

https://learn.microsoft.com/en-us/graph/api/user-post-users?view=graph-rest-1.0&tabs=http#request-body

  • #0000
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

1 participant