Certificate Profile
Certificate profile resource. Azure REST API version: 2024-02-05-preview.
Example Usage
Create a certificate profile.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var certificateProfile = new AzureNative.CodeSigning.CertificateProfile("certificateProfile", new()
{
AccountName = "MyAccount",
IdentityValidationId = "00000000-1234-5678-3333-444444444444",
IncludePostalCode = true,
IncludeStreetAddress = false,
ProfileName = "profileA",
ProfileType = AzureNative.CodeSigning.ProfileType.PublicTrust,
ResourceGroupName = "MyResourceGroup",
});
});package main
import (
"github.com/pulumi/pulumi-azure-native-sdk/codesigning/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := codesigning.NewCertificateProfile(ctx, "certificateProfile", &codesigning.CertificateProfileArgs{
AccountName: pulumi.String("MyAccount"),
IdentityValidationId: pulumi.String("00000000-1234-5678-3333-444444444444"),
IncludePostalCode: pulumi.Bool(true),
IncludeStreetAddress: pulumi.Bool(false),
ProfileName: pulumi.String("profileA"),
ProfileType: pulumi.String(codesigning.ProfileTypePublicTrust),
ResourceGroupName: pulumi.String("MyResourceGroup"),
})
if err != nil {
return err
}
return nil
})
}package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.codesigning.CertificateProfile;
import com.pulumi.azurenative.codesigning.CertificateProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var certificateProfile = new CertificateProfile("certificateProfile", CertificateProfileArgs.builder()
.accountName("MyAccount")
.identityValidationId("00000000-1234-5678-3333-444444444444")
.includePostalCode(true)
.includeStreetAddress(false)
.profileName("profileA")
.profileType("PublicTrust")
.resourceGroupName("MyResourceGroup")
.build());
}
}Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:codesigning:CertificateProfile profileA /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}Properties
Used as CN in the certificate subject name.
Enhanced key usage of the certificate.
Identity validation id used for the certificate subject name.
Whether to include L in the certificate subject name. Applicable only for private trust, private trust ci profile types
Whether to include C in the certificate subject name. Applicable only for private trust, private trust ci profile types
Whether to include PC in the certificate subject name.
Whether to include S in the certificate subject name. Applicable only for private trust, private trust ci profile types
Whether to include STREET in the certificate subject name.
Used as O in the certificate subject name.
Used as OU in the private trust certificate subject name.
Used as PC in the certificate subject name.
Profile type of the certificate.
Status of the current operation on certificate profile.
Used as STREET in the certificate subject name.
Azure Resource Manager metadata containing createdBy and modifiedBy information.