1. Packages
  2. Azure Native
  3. API Docs
  4. codesigning
  5. CertificateProfile
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.4.0 published on Wednesday, May 7, 2025 by Pulumi

azure-native.codesigning.CertificateProfile

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.4.0 published on Wednesday, May 7, 2025 by Pulumi

    Certificate profile resource.

    Uses Azure REST API version 2024-09-30-preview. In version 2.x of the Azure Native provider, it used API version 2024-02-05-preview.

    Other available API versions: 2024-02-05-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native codesigning [ApiVersion]. See the version guide for details.

    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 (
    	codesigning "github.com/pulumi/pulumi-azure-native-sdk/codesigning/v3"
    	"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 * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const certificateProfile = new azure_native.codesigning.CertificateProfile("certificateProfile", {
        accountName: "MyAccount",
        identityValidationId: "00000000-1234-5678-3333-444444444444",
        includePostalCode: true,
        includeStreetAddress: false,
        profileName: "profileA",
        profileType: azure_native.codesigning.ProfileType.PublicTrust,
        resourceGroupName: "MyResourceGroup",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    certificate_profile = azure_native.codesigning.CertificateProfile("certificateProfile",
        account_name="MyAccount",
        identity_validation_id="00000000-1234-5678-3333-444444444444",
        include_postal_code=True,
        include_street_address=False,
        profile_name="profileA",
        profile_type=azure_native.codesigning.ProfileType.PUBLIC_TRUST,
        resource_group_name="MyResourceGroup")
    
    resources:
      certificateProfile:
        type: azure-native:codesigning:CertificateProfile
        properties:
          accountName: MyAccount
          identityValidationId: 00000000-1234-5678-3333-444444444444
          includePostalCode: true
          includeStreetAddress: false
          profileName: profileA
          profileType: PublicTrust
          resourceGroupName: MyResourceGroup
    

    Create CertificateProfile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CertificateProfile(name: string, args: CertificateProfileArgs, opts?: CustomResourceOptions);
    @overload
    def CertificateProfile(resource_name: str,
                           args: CertificateProfileArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def CertificateProfile(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           account_name: Optional[str] = None,
                           identity_validation_id: Optional[str] = None,
                           profile_type: Optional[Union[str, ProfileType]] = None,
                           resource_group_name: Optional[str] = None,
                           include_city: Optional[bool] = None,
                           include_country: Optional[bool] = None,
                           include_postal_code: Optional[bool] = None,
                           include_state: Optional[bool] = None,
                           include_street_address: Optional[bool] = None,
                           profile_name: Optional[str] = None)
    func NewCertificateProfile(ctx *Context, name string, args CertificateProfileArgs, opts ...ResourceOption) (*CertificateProfile, error)
    public CertificateProfile(string name, CertificateProfileArgs args, CustomResourceOptions? opts = null)
    public CertificateProfile(String name, CertificateProfileArgs args)
    public CertificateProfile(String name, CertificateProfileArgs args, CustomResourceOptions options)
    
    type: azure-native:codesigning:CertificateProfile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CertificateProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CertificateProfileArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CertificateProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CertificateProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CertificateProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var certificateProfileResource = new AzureNative.CodeSigning.CertificateProfile("certificateProfileResource", new()
    {
        AccountName = "string",
        IdentityValidationId = "string",
        ProfileType = "string",
        ResourceGroupName = "string",
        IncludeCity = false,
        IncludeCountry = false,
        IncludePostalCode = false,
        IncludeState = false,
        IncludeStreetAddress = false,
        ProfileName = "string",
    });
    
    example, err := codesigning.NewCertificateProfile(ctx, "certificateProfileResource", &codesigning.CertificateProfileArgs{
    	AccountName:          pulumi.String("string"),
    	IdentityValidationId: pulumi.String("string"),
    	ProfileType:          pulumi.String("string"),
    	ResourceGroupName:    pulumi.String("string"),
    	IncludeCity:          pulumi.Bool(false),
    	IncludeCountry:       pulumi.Bool(false),
    	IncludePostalCode:    pulumi.Bool(false),
    	IncludeState:         pulumi.Bool(false),
    	IncludeStreetAddress: pulumi.Bool(false),
    	ProfileName:          pulumi.String("string"),
    })
    
    var certificateProfileResource = new CertificateProfile("certificateProfileResource", CertificateProfileArgs.builder()
        .accountName("string")
        .identityValidationId("string")
        .profileType("string")
        .resourceGroupName("string")
        .includeCity(false)
        .includeCountry(false)
        .includePostalCode(false)
        .includeState(false)
        .includeStreetAddress(false)
        .profileName("string")
        .build());
    
    certificate_profile_resource = azure_native.codesigning.CertificateProfile("certificateProfileResource",
        account_name="string",
        identity_validation_id="string",
        profile_type="string",
        resource_group_name="string",
        include_city=False,
        include_country=False,
        include_postal_code=False,
        include_state=False,
        include_street_address=False,
        profile_name="string")
    
    const certificateProfileResource = new azure_native.codesigning.CertificateProfile("certificateProfileResource", {
        accountName: "string",
        identityValidationId: "string",
        profileType: "string",
        resourceGroupName: "string",
        includeCity: false,
        includeCountry: false,
        includePostalCode: false,
        includeState: false,
        includeStreetAddress: false,
        profileName: "string",
    });
    
    type: azure-native:codesigning:CertificateProfile
    properties:
        accountName: string
        identityValidationId: string
        includeCity: false
        includeCountry: false
        includePostalCode: false
        includeState: false
        includeStreetAddress: false
        profileName: string
        profileType: string
        resourceGroupName: string
    

    CertificateProfile Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CertificateProfile resource accepts the following input properties:

    AccountName string
    Trusted Signing account name.
    IdentityValidationId string
    Identity validation id used for the certificate subject name.
    ProfileType string | Pulumi.AzureNative.CodeSigning.ProfileType
    Profile type of the certificate.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    IncludeCity bool
    Whether to include L in the certificate subject name. Applicable only for private trust, private trust ci profile types
    IncludeCountry bool
    Whether to include C in the certificate subject name. Applicable only for private trust, private trust ci profile types
    IncludePostalCode bool
    Whether to include PC in the certificate subject name.
    IncludeState bool
    Whether to include S in the certificate subject name. Applicable only for private trust, private trust ci profile types
    IncludeStreetAddress bool
    Whether to include STREET in the certificate subject name.
    ProfileName string
    Certificate profile name.
    AccountName string
    Trusted Signing account name.
    IdentityValidationId string
    Identity validation id used for the certificate subject name.
    ProfileType string | ProfileType
    Profile type of the certificate.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    IncludeCity bool
    Whether to include L in the certificate subject name. Applicable only for private trust, private trust ci profile types
    IncludeCountry bool
    Whether to include C in the certificate subject name. Applicable only for private trust, private trust ci profile types
    IncludePostalCode bool
    Whether to include PC in the certificate subject name.
    IncludeState bool
    Whether to include S in the certificate subject name. Applicable only for private trust, private trust ci profile types
    IncludeStreetAddress bool
    Whether to include STREET in the certificate subject name.
    ProfileName string
    Certificate profile name.
    accountName String
    Trusted Signing account name.
    identityValidationId String
    Identity validation id used for the certificate subject name.
    profileType String | ProfileType
    Profile type of the certificate.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    includeCity Boolean
    Whether to include L in the certificate subject name. Applicable only for private trust, private trust ci profile types
    includeCountry Boolean
    Whether to include C in the certificate subject name. Applicable only for private trust, private trust ci profile types
    includePostalCode Boolean
    Whether to include PC in the certificate subject name.
    includeState Boolean
    Whether to include S in the certificate subject name. Applicable only for private trust, private trust ci profile types
    includeStreetAddress Boolean
    Whether to include STREET in the certificate subject name.
    profileName String
    Certificate profile name.
    accountName string
    Trusted Signing account name.
    identityValidationId string
    Identity validation id used for the certificate subject name.
    profileType string | ProfileType
    Profile type of the certificate.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    includeCity boolean
    Whether to include L in the certificate subject name. Applicable only for private trust, private trust ci profile types
    includeCountry boolean
    Whether to include C in the certificate subject name. Applicable only for private trust, private trust ci profile types
    includePostalCode boolean
    Whether to include PC in the certificate subject name.
    includeState boolean
    Whether to include S in the certificate subject name. Applicable only for private trust, private trust ci profile types
    includeStreetAddress boolean
    Whether to include STREET in the certificate subject name.
    profileName string
    Certificate profile name.
    account_name str
    Trusted Signing account name.
    identity_validation_id str
    Identity validation id used for the certificate subject name.
    profile_type str | ProfileType
    Profile type of the certificate.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    include_city bool
    Whether to include L in the certificate subject name. Applicable only for private trust, private trust ci profile types
    include_country bool
    Whether to include C in the certificate subject name. Applicable only for private trust, private trust ci profile types
    include_postal_code bool
    Whether to include PC in the certificate subject name.
    include_state bool
    Whether to include S in the certificate subject name. Applicable only for private trust, private trust ci profile types
    include_street_address bool
    Whether to include STREET in the certificate subject name.
    profile_name str
    Certificate profile name.
    accountName String
    Trusted Signing account name.
    identityValidationId String
    Identity validation id used for the certificate subject name.
    profileType String | "PublicTrust" | "PrivateTrust" | "PrivateTrustCIPolicy" | "VBSEnclave" | "PublicTrustTest"
    Profile type of the certificate.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    includeCity Boolean
    Whether to include L in the certificate subject name. Applicable only for private trust, private trust ci profile types
    includeCountry Boolean
    Whether to include C in the certificate subject name. Applicable only for private trust, private trust ci profile types
    includePostalCode Boolean
    Whether to include PC in the certificate subject name.
    includeState Boolean
    Whether to include S in the certificate subject name. Applicable only for private trust, private trust ci profile types
    includeStreetAddress Boolean
    Whether to include STREET in the certificate subject name.
    profileName String
    Certificate profile name.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CertificateProfile resource produces the following output properties:

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Status of the current operation on certificate profile.
    Status string
    Status of the certificate profile.
    SystemData Pulumi.AzureNative.CodeSigning.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Status of the current operation on certificate profile.
    Status string
    Status of the certificate profile.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Status of the current operation on certificate profile.
    status String
    Status of the certificate profile.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    provisioningState string
    Status of the current operation on certificate profile.
    status string
    Status of the certificate profile.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azure_api_version str
    The Azure API version of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    provisioning_state str
    Status of the current operation on certificate profile.
    status str
    Status of the certificate profile.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Status of the current operation on certificate profile.
    status String
    Status of the certificate profile.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    ProfileType, ProfileTypeArgs

    PublicTrust
    PublicTrustUsed for signing files which are distributed publicly.
    PrivateTrust
    PrivateTrustUsed for signing files which are distributed internally within organization or group boundary.
    PrivateTrustCIPolicy
    PrivateTrustCIPolicyUsed for signing CI policy files.
    VBSEnclave
    VBSEnclaveUsed for signing files which are run in secure vbs enclave.
    PublicTrustTest
    PublicTrustTestUsed for signing files for testing purpose.
    ProfileTypePublicTrust
    PublicTrustUsed for signing files which are distributed publicly.
    ProfileTypePrivateTrust
    PrivateTrustUsed for signing files which are distributed internally within organization or group boundary.
    ProfileTypePrivateTrustCIPolicy
    PrivateTrustCIPolicyUsed for signing CI policy files.
    ProfileTypeVBSEnclave
    VBSEnclaveUsed for signing files which are run in secure vbs enclave.
    ProfileTypePublicTrustTest
    PublicTrustTestUsed for signing files for testing purpose.
    PublicTrust
    PublicTrustUsed for signing files which are distributed publicly.
    PrivateTrust
    PrivateTrustUsed for signing files which are distributed internally within organization or group boundary.
    PrivateTrustCIPolicy
    PrivateTrustCIPolicyUsed for signing CI policy files.
    VBSEnclave
    VBSEnclaveUsed for signing files which are run in secure vbs enclave.
    PublicTrustTest
    PublicTrustTestUsed for signing files for testing purpose.
    PublicTrust
    PublicTrustUsed for signing files which are distributed publicly.
    PrivateTrust
    PrivateTrustUsed for signing files which are distributed internally within organization or group boundary.
    PrivateTrustCIPolicy
    PrivateTrustCIPolicyUsed for signing CI policy files.
    VBSEnclave
    VBSEnclaveUsed for signing files which are run in secure vbs enclave.
    PublicTrustTest
    PublicTrustTestUsed for signing files for testing purpose.
    PUBLIC_TRUST
    PublicTrustUsed for signing files which are distributed publicly.
    PRIVATE_TRUST
    PrivateTrustUsed for signing files which are distributed internally within organization or group boundary.
    PRIVATE_TRUST_CI_POLICY
    PrivateTrustCIPolicyUsed for signing CI policy files.
    VBS_ENCLAVE
    VBSEnclaveUsed for signing files which are run in secure vbs enclave.
    PUBLIC_TRUST_TEST
    PublicTrustTestUsed for signing files for testing purpose.
    "PublicTrust"
    PublicTrustUsed for signing files which are distributed publicly.
    "PrivateTrust"
    PrivateTrustUsed for signing files which are distributed internally within organization or group boundary.
    "PrivateTrustCIPolicy"
    PrivateTrustCIPolicyUsed for signing CI policy files.
    "VBSEnclave"
    VBSEnclaveUsed for signing files which are run in secure vbs enclave.
    "PublicTrustTest"
    PublicTrustTestUsed for signing files for testing purpose.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    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} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.4.0 published on Wednesday, May 7, 2025 by Pulumi