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 clientCertificateMode in container apps #23091

Closed
1 task done
michaeljgea opened this issue Aug 25, 2023 · 0 comments · Fixed by #28523
Closed
1 task done

Support for clientCertificateMode in container apps #23091

michaeljgea opened this issue Aug 25, 2023 · 0 comments · Fixed by #28523

Comments

@michaeljgea
Copy link

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 and review the contribution guide to help.

Description

Azure Container apps now support client certificate authentication.

This feature can be turned on in the portal or via the REST API. However, when redeploying the app via terraform, it is reset to "ignore", i.e., disabled.

The Go SDK already supports this feature in version 2.0.0 (see: https://github.com/Azure/azure-sdk-for-go/blob/main/sdk/resourcemanager/appcontainers/armappcontainers/CHANGELOG.md#200-2023-08-25 "New enum type IngressClientCertificateMode").

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

azurerm_container_app

Potential Terraform Configuration

resource "azurerm_container_app" "service" {
  name                         = "test"

  //...

  ingress {
    target_port      = 80
    external_enabled = true
    traffic_weight {
      latest_revision = true
      percentage      = 100
    }
	
    client_certificate_mode = "accept"
	
  }
  
}

References

https://learn.microsoft.com/en-us/azure/container-apps/client-certificate-authorization

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants