Skip to content

azuread_application_federated_identity_credential - update to handle "claims matching expression" #1715

Description

@scott-doyland-burrows

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

Azure now allows federated credentials to be wildcarded.

https://learn.microsoft.com/en-us/entra/workload-id/workload-identities-flexible-federated-identity-credentials?tabs=github

Can the resource be updated to allow us to manage this via terraform.

The Portal looks like this:

Image

New or Affected Resource(s)

  • azuread_application_federated_identity_credential

Potential Terraform Configuration

resource "azuread_application_federated_identity_credential" "example" {
  application_id   = "/applications/xxx"
  display_name     = "plan"
  issuer           = "https://app.terraform.io"
  claim_expression = "claims['sub'] matches 'organization:company-cloudhub:project:devops:workspace:*:run_phase:*'"
}

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions