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

Add support for Ephemeral with azuread_application_password #1587

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

Add support for Ephemeral with azuread_application_password #1587

bwrogo opened this issue Dec 12, 2024 · 0 comments

Comments

@bwrogo
Copy link

bwrogo 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

Now that Terraform 1.10 supports ephemeral resources, could the team consider updating the azuread_application_password resource to support this?

This would improve the management of application registration secrets.

Thank you for your attention to this matter.

New or Affected Resource(s)

  • azuread_application_password

Potential Terraform Configuration

  • Basic Config:
ephemeral "azuread_application_password" "example" {
  application_id = azuread_application_registration.example.id
}
  • With Rotation:
resource "azuread_application_registration" "example" {
  display_name = "example"
}

resource "time_rotating" "example" {
  rotation_days = 7
}

ephemeral "azuread_application_password" "example" {
  application_id = azuread_application_registration.example.id
  rotate_when_changed = {
    rotation = time_rotating.example.id
  }
}
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