1. Packages
  2. Azure Native
  3. API Docs
  4. cdn
  5. Secret
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.29.0 published on Friday, Feb 16, 2024 by Pulumi

azure-native.cdn.Secret

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.29.0 published on Friday, Feb 16, 2024 by Pulumi

    Friendly Secret name mapping to the any Secret or secret related information. Azure REST API version: 2023-05-01. Prior API version in Azure Native 1.x: 2020-09-01.

    Other available API versions: 2023-07-01-preview.

    Example Usage

    Secrets_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var secret = new AzureNative.Cdn.Secret("secret", new()
        {
            Parameters = new AzureNative.Cdn.Inputs.CustomerCertificateParametersArgs
            {
                SecretSource = new AzureNative.Cdn.Inputs.ResourceReferenceArgs
                {
                    Id = "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vault/kvName/secrets/certificatename",
                },
                SecretVersion = "abcdef1234578900abcdef1234567890",
                Type = "CustomerCertificate",
                UseLatestVersion = false,
            },
            ProfileName = "profile1",
            ResourceGroupName = "RG",
            SecretName = "secret1",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/cdn/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cdn.NewSecret(ctx, "secret", &cdn.SecretArgs{
    			Parameters: cdn.CustomerCertificateParameters{
    				SecretSource: cdn.ResourceReference{
    					Id: "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vault/kvName/secrets/certificatename",
    				},
    				SecretVersion:    "abcdef1234578900abcdef1234567890",
    				Type:             "CustomerCertificate",
    				UseLatestVersion: false,
    			},
    			ProfileName:       pulumi.String("profile1"),
    			ResourceGroupName: pulumi.String("RG"),
    			SecretName:        pulumi.String("secret1"),
    		})
    		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.cdn.Secret;
    import com.pulumi.azurenative.cdn.SecretArgs;
    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 secret = new Secret("secret", SecretArgs.builder()        
                .parameters(Map.ofEntries(
                    Map.entry("secretSource", Map.of("id", "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vault/kvName/secrets/certificatename")),
                    Map.entry("secretVersion", "abcdef1234578900abcdef1234567890"),
                    Map.entry("type", "CustomerCertificate"),
                    Map.entry("useLatestVersion", false)
                ))
                .profileName("profile1")
                .resourceGroupName("RG")
                .secretName("secret1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    secret = azure_native.cdn.Secret("secret",
        parameters=azure_native.cdn.CustomerCertificateParametersArgs(
            secret_source=azure_native.cdn.ResourceReferenceArgs(
                id="/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vault/kvName/secrets/certificatename",
            ),
            secret_version="abcdef1234578900abcdef1234567890",
            type="CustomerCertificate",
            use_latest_version=False,
        ),
        profile_name="profile1",
        resource_group_name="RG",
        secret_name="secret1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const secret = new azure_native.cdn.Secret("secret", {
        parameters: {
            secretSource: {
                id: "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vault/kvName/secrets/certificatename",
            },
            secretVersion: "abcdef1234578900abcdef1234567890",
            type: "CustomerCertificate",
            useLatestVersion: false,
        },
        profileName: "profile1",
        resourceGroupName: "RG",
        secretName: "secret1",
    });
    
    resources:
      secret:
        type: azure-native:cdn:Secret
        properties:
          parameters:
            secretSource:
              id: /subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vault/kvName/secrets/certificatename
            secretVersion: abcdef1234578900abcdef1234567890
            type: CustomerCertificate
            useLatestVersion: false
          profileName: profile1
          resourceGroupName: RG
          secretName: secret1
    

    Create Secret Resource

    new Secret(name: string, args: SecretArgs, opts?: CustomResourceOptions);
    @overload
    def Secret(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               parameters: Optional[Union[AzureFirstPartyManagedCertificateParametersArgs, CustomerCertificateParametersArgs, ManagedCertificateParametersArgs, UrlSigningKeyParametersArgs]] = None,
               profile_name: Optional[str] = None,
               resource_group_name: Optional[str] = None,
               secret_name: Optional[str] = None)
    @overload
    def Secret(resource_name: str,
               args: SecretArgs,
               opts: Optional[ResourceOptions] = None)
    func NewSecret(ctx *Context, name string, args SecretArgs, opts ...ResourceOption) (*Secret, error)
    public Secret(string name, SecretArgs args, CustomResourceOptions? opts = null)
    public Secret(String name, SecretArgs args)
    public Secret(String name, SecretArgs args, CustomResourceOptions options)
    
    type: azure-native:cdn:Secret
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args SecretArgs
    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 SecretArgs
    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 SecretArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecretArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecretArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Secret Resource Properties

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

    Inputs

    The Secret resource accepts the following input properties:

    ProfileName string
    Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
    ResourceGroupName string
    Name of the Resource group within the Azure subscription.
    Parameters Pulumi.AzureNative.Cdn.Inputs.AzureFirstPartyManagedCertificateParameters | Pulumi.AzureNative.Cdn.Inputs.CustomerCertificateParameters | Pulumi.AzureNative.Cdn.Inputs.ManagedCertificateParameters | Pulumi.AzureNative.Cdn.Inputs.UrlSigningKeyParameters
    object which contains secret parameters
    SecretName string
    Name of the Secret under the profile.
    ProfileName string
    Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
    ResourceGroupName string
    Name of the Resource group within the Azure subscription.
    Parameters AzureFirstPartyManagedCertificateParametersArgs | CustomerCertificateParametersArgs | ManagedCertificateParametersArgs | UrlSigningKeyParametersArgs
    object which contains secret parameters
    SecretName string
    Name of the Secret under the profile.
    profileName String
    Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
    resourceGroupName String
    Name of the Resource group within the Azure subscription.
    parameters AzureFirstPartyManagedCertificateParameters | CustomerCertificateParameters | ManagedCertificateParameters | UrlSigningKeyParameters
    object which contains secret parameters
    secretName String
    Name of the Secret under the profile.
    profileName string
    Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
    resourceGroupName string
    Name of the Resource group within the Azure subscription.
    parameters AzureFirstPartyManagedCertificateParameters | CustomerCertificateParameters | ManagedCertificateParameters | UrlSigningKeyParameters
    object which contains secret parameters
    secretName string
    Name of the Secret under the profile.
    profile_name str
    Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
    resource_group_name str
    Name of the Resource group within the Azure subscription.
    parameters AzureFirstPartyManagedCertificateParametersArgs | CustomerCertificateParametersArgs | ManagedCertificateParametersArgs | UrlSigningKeyParametersArgs
    object which contains secret parameters
    secret_name str
    Name of the Secret under the profile.
    profileName String
    Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
    resourceGroupName String
    Name of the Resource group within the Azure subscription.
    parameters Property Map | Property Map | Property Map | Property Map
    object which contains secret parameters
    secretName String
    Name of the Secret under the profile.

    Outputs

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

    DeploymentStatus string
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name.
    ProvisioningState string
    Provisioning status
    SystemData Pulumi.AzureNative.Cdn.Outputs.SystemDataResponse
    Read only system data
    Type string
    Resource type.
    DeploymentStatus string
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name.
    ProvisioningState string
    Provisioning status
    SystemData SystemDataResponse
    Read only system data
    Type string
    Resource type.
    deploymentStatus String
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name.
    provisioningState String
    Provisioning status
    systemData SystemDataResponse
    Read only system data
    type String
    Resource type.
    deploymentStatus string
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Resource name.
    provisioningState string
    Provisioning status
    systemData SystemDataResponse
    Read only system data
    type string
    Resource type.
    deployment_status str
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Resource name.
    provisioning_state str
    Provisioning status
    system_data SystemDataResponse
    Read only system data
    type str
    Resource type.
    deploymentStatus String
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name.
    provisioningState String
    Provisioning status
    systemData Property Map
    Read only system data
    type String
    Resource type.

    Supporting Types

    AzureFirstPartyManagedCertificateParameters, AzureFirstPartyManagedCertificateParametersArgs

    SubjectAlternativeNames List<string>
    The list of SANs.
    SubjectAlternativeNames []string
    The list of SANs.
    subjectAlternativeNames List<String>
    The list of SANs.
    subjectAlternativeNames string[]
    The list of SANs.
    subject_alternative_names Sequence[str]
    The list of SANs.
    subjectAlternativeNames List<String>
    The list of SANs.

    AzureFirstPartyManagedCertificateParametersResponse, AzureFirstPartyManagedCertificateParametersResponseArgs

    CertificateAuthority string
    Certificate issuing authority.
    ExpirationDate string
    Certificate expiration date.
    SecretSource Pulumi.AzureNative.Cdn.Inputs.ResourceReferenceResponse
    Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    Subject string
    Subject name in the certificate.
    Thumbprint string
    Certificate thumbprint.
    SubjectAlternativeNames List<string>
    The list of SANs.
    CertificateAuthority string
    Certificate issuing authority.
    ExpirationDate string
    Certificate expiration date.
    SecretSource ResourceReferenceResponse
    Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    Subject string
    Subject name in the certificate.
    Thumbprint string
    Certificate thumbprint.
    SubjectAlternativeNames []string
    The list of SANs.
    certificateAuthority String
    Certificate issuing authority.
    expirationDate String
    Certificate expiration date.
    secretSource ResourceReferenceResponse
    Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    subject String
    Subject name in the certificate.
    thumbprint String
    Certificate thumbprint.
    subjectAlternativeNames List<String>
    The list of SANs.
    certificateAuthority string
    Certificate issuing authority.
    expirationDate string
    Certificate expiration date.
    secretSource ResourceReferenceResponse
    Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    subject string
    Subject name in the certificate.
    thumbprint string
    Certificate thumbprint.
    subjectAlternativeNames string[]
    The list of SANs.
    certificate_authority str
    Certificate issuing authority.
    expiration_date str
    Certificate expiration date.
    secret_source ResourceReferenceResponse
    Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    subject str
    Subject name in the certificate.
    thumbprint str
    Certificate thumbprint.
    subject_alternative_names Sequence[str]
    The list of SANs.
    certificateAuthority String
    Certificate issuing authority.
    expirationDate String
    Certificate expiration date.
    secretSource Property Map
    Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    subject String
    Subject name in the certificate.
    thumbprint String
    Certificate thumbprint.
    subjectAlternativeNames List<String>
    The list of SANs.

    CustomerCertificateParameters, CustomerCertificateParametersArgs

    SecretSource Pulumi.AzureNative.Cdn.Inputs.ResourceReference
    Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    SecretVersion string
    Version of the secret to be used
    SubjectAlternativeNames List<string>
    The list of SANs.
    UseLatestVersion bool
    Whether to use the latest version for the certificate
    SecretSource ResourceReference
    Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    SecretVersion string
    Version of the secret to be used
    SubjectAlternativeNames []string
    The list of SANs.
    UseLatestVersion bool
    Whether to use the latest version for the certificate
    secretSource ResourceReference
    Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    secretVersion String
    Version of the secret to be used
    subjectAlternativeNames List<String>
    The list of SANs.
    useLatestVersion Boolean
    Whether to use the latest version for the certificate
    secretSource ResourceReference
    Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    secretVersion string
    Version of the secret to be used
    subjectAlternativeNames string[]
    The list of SANs.
    useLatestVersion boolean
    Whether to use the latest version for the certificate
    secret_source ResourceReference
    Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    secret_version str
    Version of the secret to be used
    subject_alternative_names Sequence[str]
    The list of SANs.
    use_latest_version bool
    Whether to use the latest version for the certificate
    secretSource Property Map
    Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    secretVersion String
    Version of the secret to be used
    subjectAlternativeNames List<String>
    The list of SANs.
    useLatestVersion Boolean
    Whether to use the latest version for the certificate

    CustomerCertificateParametersResponse, CustomerCertificateParametersResponseArgs

    CertificateAuthority string
    Certificate issuing authority.
    ExpirationDate string
    Certificate expiration date.
    SecretSource Pulumi.AzureNative.Cdn.Inputs.ResourceReferenceResponse
    Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    Subject string
    Subject name in the certificate.
    Thumbprint string
    Certificate thumbprint.
    SecretVersion string
    Version of the secret to be used
    SubjectAlternativeNames List<string>
    The list of SANs.
    UseLatestVersion bool
    Whether to use the latest version for the certificate
    CertificateAuthority string
    Certificate issuing authority.
    ExpirationDate string
    Certificate expiration date.
    SecretSource ResourceReferenceResponse
    Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    Subject string
    Subject name in the certificate.
    Thumbprint string
    Certificate thumbprint.
    SecretVersion string
    Version of the secret to be used
    SubjectAlternativeNames []string
    The list of SANs.
    UseLatestVersion bool
    Whether to use the latest version for the certificate
    certificateAuthority String
    Certificate issuing authority.
    expirationDate String
    Certificate expiration date.
    secretSource ResourceReferenceResponse
    Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    subject String
    Subject name in the certificate.
    thumbprint String
    Certificate thumbprint.
    secretVersion String
    Version of the secret to be used
    subjectAlternativeNames List<String>
    The list of SANs.
    useLatestVersion Boolean
    Whether to use the latest version for the certificate
    certificateAuthority string
    Certificate issuing authority.
    expirationDate string
    Certificate expiration date.
    secretSource ResourceReferenceResponse
    Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    subject string
    Subject name in the certificate.
    thumbprint string
    Certificate thumbprint.
    secretVersion string
    Version of the secret to be used
    subjectAlternativeNames string[]
    The list of SANs.
    useLatestVersion boolean
    Whether to use the latest version for the certificate
    certificate_authority str
    Certificate issuing authority.
    expiration_date str
    Certificate expiration date.
    secret_source ResourceReferenceResponse
    Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    subject str
    Subject name in the certificate.
    thumbprint str
    Certificate thumbprint.
    secret_version str
    Version of the secret to be used
    subject_alternative_names Sequence[str]
    The list of SANs.
    use_latest_version bool
    Whether to use the latest version for the certificate
    certificateAuthority String
    Certificate issuing authority.
    expirationDate String
    Certificate expiration date.
    secretSource Property Map
    Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    subject String
    Subject name in the certificate.
    thumbprint String
    Certificate thumbprint.
    secretVersion String
    Version of the secret to be used
    subjectAlternativeNames List<String>
    The list of SANs.
    useLatestVersion Boolean
    Whether to use the latest version for the certificate

    ManagedCertificateParameters, ManagedCertificateParametersArgs

    ManagedCertificateParametersResponse, ManagedCertificateParametersResponseArgs

    ExpirationDate string
    Certificate expiration date.
    Subject string
    Subject name in the certificate.
    ExpirationDate string
    Certificate expiration date.
    Subject string
    Subject name in the certificate.
    expirationDate String
    Certificate expiration date.
    subject String
    Subject name in the certificate.
    expirationDate string
    Certificate expiration date.
    subject string
    Subject name in the certificate.
    expiration_date str
    Certificate expiration date.
    subject str
    Subject name in the certificate.
    expirationDate String
    Certificate expiration date.
    subject String
    Subject name in the certificate.

    ResourceReference, ResourceReferenceArgs

    Id string
    Resource ID.
    Id string
    Resource ID.
    id String
    Resource ID.
    id string
    Resource ID.
    id str
    Resource ID.
    id String
    Resource ID.

    ResourceReferenceResponse, ResourceReferenceResponseArgs

    Id string
    Resource ID.
    Id string
    Resource ID.
    id String
    Resource ID.
    id string
    Resource ID.
    id str
    Resource ID.
    id String
    Resource ID.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC)
    CreatedBy string
    An identifier for 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
    An identifier for 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
    An identifier for 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
    An identifier for 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
    An identifier for 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
    An identifier for 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
    An identifier for 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
    An identifier for 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
    An identifier for 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
    An identifier for 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
    An identifier for 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
    An identifier for the identity that last modified the resource
    lastModifiedByType String
    The type of identity that last modified the resource

    UrlSigningKeyParameters, UrlSigningKeyParametersArgs

    KeyId string
    Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash.
    SecretSource Pulumi.AzureNative.Cdn.Inputs.ResourceReference
    Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{secretName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    SecretVersion string
    Version of the secret to be used
    KeyId string
    Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash.
    SecretSource ResourceReference
    Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{secretName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    SecretVersion string
    Version of the secret to be used
    keyId String
    Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash.
    secretSource ResourceReference
    Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{secretName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    secretVersion String
    Version of the secret to be used
    keyId string
    Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash.
    secretSource ResourceReference
    Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{secretName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    secretVersion string
    Version of the secret to be used
    key_id str
    Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash.
    secret_source ResourceReference
    Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{secretName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    secret_version str
    Version of the secret to be used
    keyId String
    Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash.
    secretSource Property Map
    Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{secretName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    secretVersion String
    Version of the secret to be used

    UrlSigningKeyParametersResponse, UrlSigningKeyParametersResponseArgs

    KeyId string
    Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash.
    SecretSource Pulumi.AzureNative.Cdn.Inputs.ResourceReferenceResponse
    Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{secretName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    SecretVersion string
    Version of the secret to be used
    KeyId string
    Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash.
    SecretSource ResourceReferenceResponse
    Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{secretName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    SecretVersion string
    Version of the secret to be used
    keyId String
    Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash.
    secretSource ResourceReferenceResponse
    Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{secretName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    secretVersion String
    Version of the secret to be used
    keyId string
    Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash.
    secretSource ResourceReferenceResponse
    Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{secretName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    secretVersion string
    Version of the secret to be used
    key_id str
    Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash.
    secret_source ResourceReferenceResponse
    Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{secretName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    secret_version str
    Version of the secret to be used
    keyId String
    Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash.
    secretSource Property Map
    Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{secretName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    secretVersion String
    Version of the secret to be used

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:cdn:Secret secret1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/secrets/{secretName} 
    

    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 v1 docs if using the v1 version of this package.
    Azure Native v2.29.0 published on Friday, Feb 16, 2024 by Pulumi