https://pulumi.com logo
Title
w

white-architect-1595

01/04/2023, 5:05 PM
Hello! I am trying to set up managed identify for my webapp, does anyone have an example I can look at? Pulumis documentation doesn't show any implementation code examples.
i

icy-doctor-13719

01/04/2023, 8:43 PM
system or user managed?
if system, it’s pretty easy … (C# version incoming):
return new AzureNative.Web.WebApp("app", new()
        {
            ...
            Identity = new AzureNative.Web.Inputs.ManagedServiceIdentityArgs
            {
                Type = AzureNative.Web.ManagedServiceIdentityType.SystemAssigned
            },
            ...
        });
w

white-architect-1595

01/04/2023, 9:00 PM
thanks!