1. Packages
  2. HashiCorp Vault Provider
  3. API Docs
  4. secrets
  5. SyncAzureDestination
Viewing docs for HashiCorp Vault v7.7.0
published on Friday, Feb 6, 2026 by Pulumi
vault logo
Viewing docs for HashiCorp Vault v7.7.0
published on Friday, Feb 6, 2026 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vault from "@pulumi/vault";
    
    const az = new vault.secrets.SyncAzureDestination("az", {
        name: "az-dest",
        keyVaultUri: keyVaultUri,
        clientId: clientId,
        clientSecret: clientSecret,
        tenantId: tenantId,
        secretNameTemplate: "vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}",
        allowedIpv4Addresses: [
            "192.168.1.1/24",
            "10.0.0.1/8",
        ],
        allowedIpv6Addresses: ["2001:db9::/32"],
        allowedPorts: [
            443,
            9443,
        ],
        disableStrictNetworking: false,
        customTags: {
            foo: "bar",
        },
    });
    
    import pulumi
    import pulumi_vault as vault
    
    az = vault.secrets.SyncAzureDestination("az",
        name="az-dest",
        key_vault_uri=key_vault_uri,
        client_id=client_id,
        client_secret=client_secret,
        tenant_id=tenant_id,
        secret_name_template="vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}",
        allowed_ipv4_addresses=[
            "192.168.1.1/24",
            "10.0.0.1/8",
        ],
        allowed_ipv6_addresses=["2001:db9::/32"],
        allowed_ports=[
            443,
            9443,
        ],
        disable_strict_networking=False,
        custom_tags={
            "foo": "bar",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-vault/sdk/v7/go/vault/secrets"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := secrets.NewSyncAzureDestination(ctx, "az", &secrets.SyncAzureDestinationArgs{
    			Name:               pulumi.String("az-dest"),
    			KeyVaultUri:        pulumi.Any(keyVaultUri),
    			ClientId:           pulumi.Any(clientId),
    			ClientSecret:       pulumi.Any(clientSecret),
    			TenantId:           pulumi.Any(tenantId),
    			SecretNameTemplate: pulumi.String("vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}"),
    			AllowedIpv4Addresses: pulumi.StringArray{
    				pulumi.String("192.168.1.1/24"),
    				pulumi.String("10.0.0.1/8"),
    			},
    			AllowedIpv6Addresses: pulumi.StringArray{
    				pulumi.String("2001:db9::/32"),
    			},
    			AllowedPorts: pulumi.IntArray{
    				pulumi.Int(443),
    				pulumi.Int(9443),
    			},
    			DisableStrictNetworking: pulumi.Bool(false),
    			CustomTags: pulumi.StringMap{
    				"foo": pulumi.String("bar"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vault = Pulumi.Vault;
    
    return await Deployment.RunAsync(() => 
    {
        var az = new Vault.Secrets.SyncAzureDestination("az", new()
        {
            Name = "az-dest",
            KeyVaultUri = keyVaultUri,
            ClientId = clientId,
            ClientSecret = clientSecret,
            TenantId = tenantId,
            SecretNameTemplate = "vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}",
            AllowedIpv4Addresses = new[]
            {
                "192.168.1.1/24",
                "10.0.0.1/8",
            },
            AllowedIpv6Addresses = new[]
            {
                "2001:db9::/32",
            },
            AllowedPorts = new[]
            {
                443,
                9443,
            },
            DisableStrictNetworking = false,
            CustomTags = 
            {
                { "foo", "bar" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vault.secrets.SyncAzureDestination;
    import com.pulumi.vault.secrets.SyncAzureDestinationArgs;
    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 az = new SyncAzureDestination("az", SyncAzureDestinationArgs.builder()
                .name("az-dest")
                .keyVaultUri(keyVaultUri)
                .clientId(clientId)
                .clientSecret(clientSecret)
                .tenantId(tenantId)
                .secretNameTemplate("vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}")
                .allowedIpv4Addresses(            
                    "192.168.1.1/24",
                    "10.0.0.1/8")
                .allowedIpv6Addresses("2001:db9::/32")
                .allowedPorts(            
                    443,
                    9443)
                .disableStrictNetworking(false)
                .customTags(Map.of("foo", "bar"))
                .build());
    
        }
    }
    
    resources:
      az:
        type: vault:secrets:SyncAzureDestination
        properties:
          name: az-dest
          keyVaultUri: ${keyVaultUri}
          clientId: ${clientId}
          clientSecret: ${clientSecret}
          tenantId: ${tenantId}
          secretNameTemplate: vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}
          allowedIpv4Addresses:
            - 192.168.1.1/24
            - 10.0.0.1/8
          allowedIpv6Addresses:
            - 2001:db9::/32
          allowedPorts:
            - 443
            - 9443
          disableStrictNetworking: false # Enforce networking restrictions
          customTags:
            foo: bar
    

    Create SyncAzureDestination Resource

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

    Constructor syntax

    new SyncAzureDestination(name: string, args?: SyncAzureDestinationArgs, opts?: CustomResourceOptions);
    @overload
    def SyncAzureDestination(resource_name: str,
                             args: Optional[SyncAzureDestinationArgs] = None,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def SyncAzureDestination(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             allowed_ipv4_addresses: Optional[Sequence[str]] = None,
                             allowed_ipv6_addresses: Optional[Sequence[str]] = None,
                             allowed_ports: Optional[Sequence[int]] = None,
                             client_id: Optional[str] = None,
                             client_secret: Optional[str] = None,
                             cloud: Optional[str] = None,
                             custom_tags: Optional[Mapping[str, str]] = None,
                             disable_strict_networking: Optional[bool] = None,
                             granularity: Optional[str] = None,
                             key_vault_uri: Optional[str] = None,
                             name: Optional[str] = None,
                             namespace: Optional[str] = None,
                             secret_name_template: Optional[str] = None,
                             tenant_id: Optional[str] = None)
    func NewSyncAzureDestination(ctx *Context, name string, args *SyncAzureDestinationArgs, opts ...ResourceOption) (*SyncAzureDestination, error)
    public SyncAzureDestination(string name, SyncAzureDestinationArgs? args = null, CustomResourceOptions? opts = null)
    public SyncAzureDestination(String name, SyncAzureDestinationArgs args)
    public SyncAzureDestination(String name, SyncAzureDestinationArgs args, CustomResourceOptions options)
    
    type: vault:secrets:SyncAzureDestination
    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 SyncAzureDestinationArgs
    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 SyncAzureDestinationArgs
    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 SyncAzureDestinationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SyncAzureDestinationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SyncAzureDestinationArgs
    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 syncAzureDestinationResource = new Vault.Secrets.SyncAzureDestination("syncAzureDestinationResource", new()
    {
        AllowedIpv4Addresses = new[]
        {
            "string",
        },
        AllowedIpv6Addresses = new[]
        {
            "string",
        },
        AllowedPorts = new[]
        {
            0,
        },
        ClientId = "string",
        ClientSecret = "string",
        Cloud = "string",
        CustomTags = 
        {
            { "string", "string" },
        },
        DisableStrictNetworking = false,
        Granularity = "string",
        KeyVaultUri = "string",
        Name = "string",
        Namespace = "string",
        SecretNameTemplate = "string",
        TenantId = "string",
    });
    
    example, err := secrets.NewSyncAzureDestination(ctx, "syncAzureDestinationResource", &secrets.SyncAzureDestinationArgs{
    	AllowedIpv4Addresses: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AllowedIpv6Addresses: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AllowedPorts: pulumi.IntArray{
    		pulumi.Int(0),
    	},
    	ClientId:     pulumi.String("string"),
    	ClientSecret: pulumi.String("string"),
    	Cloud:        pulumi.String("string"),
    	CustomTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DisableStrictNetworking: pulumi.Bool(false),
    	Granularity:             pulumi.String("string"),
    	KeyVaultUri:             pulumi.String("string"),
    	Name:                    pulumi.String("string"),
    	Namespace:               pulumi.String("string"),
    	SecretNameTemplate:      pulumi.String("string"),
    	TenantId:                pulumi.String("string"),
    })
    
    var syncAzureDestinationResource = new SyncAzureDestination("syncAzureDestinationResource", SyncAzureDestinationArgs.builder()
        .allowedIpv4Addresses("string")
        .allowedIpv6Addresses("string")
        .allowedPorts(0)
        .clientId("string")
        .clientSecret("string")
        .cloud("string")
        .customTags(Map.of("string", "string"))
        .disableStrictNetworking(false)
        .granularity("string")
        .keyVaultUri("string")
        .name("string")
        .namespace("string")
        .secretNameTemplate("string")
        .tenantId("string")
        .build());
    
    sync_azure_destination_resource = vault.secrets.SyncAzureDestination("syncAzureDestinationResource",
        allowed_ipv4_addresses=["string"],
        allowed_ipv6_addresses=["string"],
        allowed_ports=[0],
        client_id="string",
        client_secret="string",
        cloud="string",
        custom_tags={
            "string": "string",
        },
        disable_strict_networking=False,
        granularity="string",
        key_vault_uri="string",
        name="string",
        namespace="string",
        secret_name_template="string",
        tenant_id="string")
    
    const syncAzureDestinationResource = new vault.secrets.SyncAzureDestination("syncAzureDestinationResource", {
        allowedIpv4Addresses: ["string"],
        allowedIpv6Addresses: ["string"],
        allowedPorts: [0],
        clientId: "string",
        clientSecret: "string",
        cloud: "string",
        customTags: {
            string: "string",
        },
        disableStrictNetworking: false,
        granularity: "string",
        keyVaultUri: "string",
        name: "string",
        namespace: "string",
        secretNameTemplate: "string",
        tenantId: "string",
    });
    
    type: vault:secrets:SyncAzureDestination
    properties:
        allowedIpv4Addresses:
            - string
        allowedIpv6Addresses:
            - string
        allowedPorts:
            - 0
        clientId: string
        clientSecret: string
        cloud: string
        customTags:
            string: string
        disableStrictNetworking: false
        granularity: string
        keyVaultUri: string
        name: string
        namespace: string
        secretNameTemplate: string
        tenantId: string
    

    SyncAzureDestination 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 SyncAzureDestination resource accepts the following input properties:

    AllowedIpv4Addresses List<string>
    List of IPv4 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    AllowedIpv6Addresses List<string>
    List of IPv6 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    AllowedPorts List<int>
    List of port numbers allowed for outbound connections from Vault to the destination. Requires Vault 1.19+.
    ClientId string
    Client ID of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_ID environment variable.
    ClientSecret string
    Client Secret of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_SECRET environment variable.
    Cloud string
    Specifies a cloud for the client. The default is Azure Public Cloud.
    CustomTags Dictionary<string, string>
    Custom tags to set on the secret managed at the destination.
    DisableStrictNetworking bool
    When set to true, disables strict enforcement of networking restrictions. Defaults to false. Requires Vault 1.19+.
    Granularity string
    Determines what level of information is synced as a distinct resource at the destination. Supports secret-path and secret-key.
    KeyVaultUri string
    URI of an existing Azure Key Vault instance. Can be omitted and directly provided to Vault using the KEY_VAULT_URI environment variable.
    Name string
    Unique name of the Azure destination.
    Namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace.
    SecretNameTemplate string
    Template describing how to generate external secret names. Supports a subset of the Go Template syntax.
    TenantId string
    ID of the target Azure tenant. Can be omitted and directly provided to Vault using the AZURE_TENANT_ID environment variable.
    AllowedIpv4Addresses []string
    List of IPv4 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    AllowedIpv6Addresses []string
    List of IPv6 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    AllowedPorts []int
    List of port numbers allowed for outbound connections from Vault to the destination. Requires Vault 1.19+.
    ClientId string
    Client ID of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_ID environment variable.
    ClientSecret string
    Client Secret of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_SECRET environment variable.
    Cloud string
    Specifies a cloud for the client. The default is Azure Public Cloud.
    CustomTags map[string]string
    Custom tags to set on the secret managed at the destination.
    DisableStrictNetworking bool
    When set to true, disables strict enforcement of networking restrictions. Defaults to false. Requires Vault 1.19+.
    Granularity string
    Determines what level of information is synced as a distinct resource at the destination. Supports secret-path and secret-key.
    KeyVaultUri string
    URI of an existing Azure Key Vault instance. Can be omitted and directly provided to Vault using the KEY_VAULT_URI environment variable.
    Name string
    Unique name of the Azure destination.
    Namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace.
    SecretNameTemplate string
    Template describing how to generate external secret names. Supports a subset of the Go Template syntax.
    TenantId string
    ID of the target Azure tenant. Can be omitted and directly provided to Vault using the AZURE_TENANT_ID environment variable.
    allowedIpv4Addresses List<String>
    List of IPv4 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    allowedIpv6Addresses List<String>
    List of IPv6 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    allowedPorts List<Integer>
    List of port numbers allowed for outbound connections from Vault to the destination. Requires Vault 1.19+.
    clientId String
    Client ID of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_ID environment variable.
    clientSecret String
    Client Secret of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_SECRET environment variable.
    cloud String
    Specifies a cloud for the client. The default is Azure Public Cloud.
    customTags Map<String,String>
    Custom tags to set on the secret managed at the destination.
    disableStrictNetworking Boolean
    When set to true, disables strict enforcement of networking restrictions. Defaults to false. Requires Vault 1.19+.
    granularity String
    Determines what level of information is synced as a distinct resource at the destination. Supports secret-path and secret-key.
    keyVaultUri String
    URI of an existing Azure Key Vault instance. Can be omitted and directly provided to Vault using the KEY_VAULT_URI environment variable.
    name String
    Unique name of the Azure destination.
    namespace String
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace.
    secretNameTemplate String
    Template describing how to generate external secret names. Supports a subset of the Go Template syntax.
    tenantId String
    ID of the target Azure tenant. Can be omitted and directly provided to Vault using the AZURE_TENANT_ID environment variable.
    allowedIpv4Addresses string[]
    List of IPv4 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    allowedIpv6Addresses string[]
    List of IPv6 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    allowedPorts number[]
    List of port numbers allowed for outbound connections from Vault to the destination. Requires Vault 1.19+.
    clientId string
    Client ID of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_ID environment variable.
    clientSecret string
    Client Secret of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_SECRET environment variable.
    cloud string
    Specifies a cloud for the client. The default is Azure Public Cloud.
    customTags {[key: string]: string}
    Custom tags to set on the secret managed at the destination.
    disableStrictNetworking boolean
    When set to true, disables strict enforcement of networking restrictions. Defaults to false. Requires Vault 1.19+.
    granularity string
    Determines what level of information is synced as a distinct resource at the destination. Supports secret-path and secret-key.
    keyVaultUri string
    URI of an existing Azure Key Vault instance. Can be omitted and directly provided to Vault using the KEY_VAULT_URI environment variable.
    name string
    Unique name of the Azure destination.
    namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace.
    secretNameTemplate string
    Template describing how to generate external secret names. Supports a subset of the Go Template syntax.
    tenantId string
    ID of the target Azure tenant. Can be omitted and directly provided to Vault using the AZURE_TENANT_ID environment variable.
    allowed_ipv4_addresses Sequence[str]
    List of IPv4 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    allowed_ipv6_addresses Sequence[str]
    List of IPv6 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    allowed_ports Sequence[int]
    List of port numbers allowed for outbound connections from Vault to the destination. Requires Vault 1.19+.
    client_id str
    Client ID of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_ID environment variable.
    client_secret str
    Client Secret of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_SECRET environment variable.
    cloud str
    Specifies a cloud for the client. The default is Azure Public Cloud.
    custom_tags Mapping[str, str]
    Custom tags to set on the secret managed at the destination.
    disable_strict_networking bool
    When set to true, disables strict enforcement of networking restrictions. Defaults to false. Requires Vault 1.19+.
    granularity str
    Determines what level of information is synced as a distinct resource at the destination. Supports secret-path and secret-key.
    key_vault_uri str
    URI of an existing Azure Key Vault instance. Can be omitted and directly provided to Vault using the KEY_VAULT_URI environment variable.
    name str
    Unique name of the Azure destination.
    namespace str
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace.
    secret_name_template str
    Template describing how to generate external secret names. Supports a subset of the Go Template syntax.
    tenant_id str
    ID of the target Azure tenant. Can be omitted and directly provided to Vault using the AZURE_TENANT_ID environment variable.
    allowedIpv4Addresses List<String>
    List of IPv4 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    allowedIpv6Addresses List<String>
    List of IPv6 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    allowedPorts List<Number>
    List of port numbers allowed for outbound connections from Vault to the destination. Requires Vault 1.19+.
    clientId String
    Client ID of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_ID environment variable.
    clientSecret String
    Client Secret of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_SECRET environment variable.
    cloud String
    Specifies a cloud for the client. The default is Azure Public Cloud.
    customTags Map<String>
    Custom tags to set on the secret managed at the destination.
    disableStrictNetworking Boolean
    When set to true, disables strict enforcement of networking restrictions. Defaults to false. Requires Vault 1.19+.
    granularity String
    Determines what level of information is synced as a distinct resource at the destination. Supports secret-path and secret-key.
    keyVaultUri String
    URI of an existing Azure Key Vault instance. Can be omitted and directly provided to Vault using the KEY_VAULT_URI environment variable.
    name String
    Unique name of the Azure destination.
    namespace String
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace.
    secretNameTemplate String
    Template describing how to generate external secret names. Supports a subset of the Go Template syntax.
    tenantId String
    ID of the target Azure tenant. Can be omitted and directly provided to Vault using the AZURE_TENANT_ID environment variable.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    The type of the secrets destination (azure-kv).
    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    The type of the secrets destination (azure-kv).
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    The type of the secrets destination (azure-kv).
    id string
    The provider-assigned unique ID for this managed resource.
    type string
    The type of the secrets destination (azure-kv).
    id str
    The provider-assigned unique ID for this managed resource.
    type str
    The type of the secrets destination (azure-kv).
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    The type of the secrets destination (azure-kv).

    Look up Existing SyncAzureDestination Resource

    Get an existing SyncAzureDestination resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SyncAzureDestinationState, opts?: CustomResourceOptions): SyncAzureDestination
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allowed_ipv4_addresses: Optional[Sequence[str]] = None,
            allowed_ipv6_addresses: Optional[Sequence[str]] = None,
            allowed_ports: Optional[Sequence[int]] = None,
            client_id: Optional[str] = None,
            client_secret: Optional[str] = None,
            cloud: Optional[str] = None,
            custom_tags: Optional[Mapping[str, str]] = None,
            disable_strict_networking: Optional[bool] = None,
            granularity: Optional[str] = None,
            key_vault_uri: Optional[str] = None,
            name: Optional[str] = None,
            namespace: Optional[str] = None,
            secret_name_template: Optional[str] = None,
            tenant_id: Optional[str] = None,
            type: Optional[str] = None) -> SyncAzureDestination
    func GetSyncAzureDestination(ctx *Context, name string, id IDInput, state *SyncAzureDestinationState, opts ...ResourceOption) (*SyncAzureDestination, error)
    public static SyncAzureDestination Get(string name, Input<string> id, SyncAzureDestinationState? state, CustomResourceOptions? opts = null)
    public static SyncAzureDestination get(String name, Output<String> id, SyncAzureDestinationState state, CustomResourceOptions options)
    resources:  _:    type: vault:secrets:SyncAzureDestination    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AllowedIpv4Addresses List<string>
    List of IPv4 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    AllowedIpv6Addresses List<string>
    List of IPv6 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    AllowedPorts List<int>
    List of port numbers allowed for outbound connections from Vault to the destination. Requires Vault 1.19+.
    ClientId string
    Client ID of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_ID environment variable.
    ClientSecret string
    Client Secret of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_SECRET environment variable.
    Cloud string
    Specifies a cloud for the client. The default is Azure Public Cloud.
    CustomTags Dictionary<string, string>
    Custom tags to set on the secret managed at the destination.
    DisableStrictNetworking bool
    When set to true, disables strict enforcement of networking restrictions. Defaults to false. Requires Vault 1.19+.
    Granularity string
    Determines what level of information is synced as a distinct resource at the destination. Supports secret-path and secret-key.
    KeyVaultUri string
    URI of an existing Azure Key Vault instance. Can be omitted and directly provided to Vault using the KEY_VAULT_URI environment variable.
    Name string
    Unique name of the Azure destination.
    Namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace.
    SecretNameTemplate string
    Template describing how to generate external secret names. Supports a subset of the Go Template syntax.
    TenantId string
    ID of the target Azure tenant. Can be omitted and directly provided to Vault using the AZURE_TENANT_ID environment variable.
    Type string
    The type of the secrets destination (azure-kv).
    AllowedIpv4Addresses []string
    List of IPv4 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    AllowedIpv6Addresses []string
    List of IPv6 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    AllowedPorts []int
    List of port numbers allowed for outbound connections from Vault to the destination. Requires Vault 1.19+.
    ClientId string
    Client ID of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_ID environment variable.
    ClientSecret string
    Client Secret of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_SECRET environment variable.
    Cloud string
    Specifies a cloud for the client. The default is Azure Public Cloud.
    CustomTags map[string]string
    Custom tags to set on the secret managed at the destination.
    DisableStrictNetworking bool
    When set to true, disables strict enforcement of networking restrictions. Defaults to false. Requires Vault 1.19+.
    Granularity string
    Determines what level of information is synced as a distinct resource at the destination. Supports secret-path and secret-key.
    KeyVaultUri string
    URI of an existing Azure Key Vault instance. Can be omitted and directly provided to Vault using the KEY_VAULT_URI environment variable.
    Name string
    Unique name of the Azure destination.
    Namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace.
    SecretNameTemplate string
    Template describing how to generate external secret names. Supports a subset of the Go Template syntax.
    TenantId string
    ID of the target Azure tenant. Can be omitted and directly provided to Vault using the AZURE_TENANT_ID environment variable.
    Type string
    The type of the secrets destination (azure-kv).
    allowedIpv4Addresses List<String>
    List of IPv4 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    allowedIpv6Addresses List<String>
    List of IPv6 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    allowedPorts List<Integer>
    List of port numbers allowed for outbound connections from Vault to the destination. Requires Vault 1.19+.
    clientId String
    Client ID of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_ID environment variable.
    clientSecret String
    Client Secret of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_SECRET environment variable.
    cloud String
    Specifies a cloud for the client. The default is Azure Public Cloud.
    customTags Map<String,String>
    Custom tags to set on the secret managed at the destination.
    disableStrictNetworking Boolean
    When set to true, disables strict enforcement of networking restrictions. Defaults to false. Requires Vault 1.19+.
    granularity String
    Determines what level of information is synced as a distinct resource at the destination. Supports secret-path and secret-key.
    keyVaultUri String
    URI of an existing Azure Key Vault instance. Can be omitted and directly provided to Vault using the KEY_VAULT_URI environment variable.
    name String
    Unique name of the Azure destination.
    namespace String
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace.
    secretNameTemplate String
    Template describing how to generate external secret names. Supports a subset of the Go Template syntax.
    tenantId String
    ID of the target Azure tenant. Can be omitted and directly provided to Vault using the AZURE_TENANT_ID environment variable.
    type String
    The type of the secrets destination (azure-kv).
    allowedIpv4Addresses string[]
    List of IPv4 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    allowedIpv6Addresses string[]
    List of IPv6 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    allowedPorts number[]
    List of port numbers allowed for outbound connections from Vault to the destination. Requires Vault 1.19+.
    clientId string
    Client ID of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_ID environment variable.
    clientSecret string
    Client Secret of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_SECRET environment variable.
    cloud string
    Specifies a cloud for the client. The default is Azure Public Cloud.
    customTags {[key: string]: string}
    Custom tags to set on the secret managed at the destination.
    disableStrictNetworking boolean
    When set to true, disables strict enforcement of networking restrictions. Defaults to false. Requires Vault 1.19+.
    granularity string
    Determines what level of information is synced as a distinct resource at the destination. Supports secret-path and secret-key.
    keyVaultUri string
    URI of an existing Azure Key Vault instance. Can be omitted and directly provided to Vault using the KEY_VAULT_URI environment variable.
    name string
    Unique name of the Azure destination.
    namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace.
    secretNameTemplate string
    Template describing how to generate external secret names. Supports a subset of the Go Template syntax.
    tenantId string
    ID of the target Azure tenant. Can be omitted and directly provided to Vault using the AZURE_TENANT_ID environment variable.
    type string
    The type of the secrets destination (azure-kv).
    allowed_ipv4_addresses Sequence[str]
    List of IPv4 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    allowed_ipv6_addresses Sequence[str]
    List of IPv6 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    allowed_ports Sequence[int]
    List of port numbers allowed for outbound connections from Vault to the destination. Requires Vault 1.19+.
    client_id str
    Client ID of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_ID environment variable.
    client_secret str
    Client Secret of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_SECRET environment variable.
    cloud str
    Specifies a cloud for the client. The default is Azure Public Cloud.
    custom_tags Mapping[str, str]
    Custom tags to set on the secret managed at the destination.
    disable_strict_networking bool
    When set to true, disables strict enforcement of networking restrictions. Defaults to false. Requires Vault 1.19+.
    granularity str
    Determines what level of information is synced as a distinct resource at the destination. Supports secret-path and secret-key.
    key_vault_uri str
    URI of an existing Azure Key Vault instance. Can be omitted and directly provided to Vault using the KEY_VAULT_URI environment variable.
    name str
    Unique name of the Azure destination.
    namespace str
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace.
    secret_name_template str
    Template describing how to generate external secret names. Supports a subset of the Go Template syntax.
    tenant_id str
    ID of the target Azure tenant. Can be omitted and directly provided to Vault using the AZURE_TENANT_ID environment variable.
    type str
    The type of the secrets destination (azure-kv).
    allowedIpv4Addresses List<String>
    List of IPv4 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    allowedIpv6Addresses List<String>
    List of IPv6 addresses or CIDR blocks allowed to make outbound connections from Vault to the destination. Requires Vault 1.19+.
    allowedPorts List<Number>
    List of port numbers allowed for outbound connections from Vault to the destination. Requires Vault 1.19+.
    clientId String
    Client ID of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_ID environment variable.
    clientSecret String
    Client Secret of an Azure app registration. Can be omitted and directly provided to Vault using the AZURE_CLIENT_SECRET environment variable.
    cloud String
    Specifies a cloud for the client. The default is Azure Public Cloud.
    customTags Map<String>
    Custom tags to set on the secret managed at the destination.
    disableStrictNetworking Boolean
    When set to true, disables strict enforcement of networking restrictions. Defaults to false. Requires Vault 1.19+.
    granularity String
    Determines what level of information is synced as a distinct resource at the destination. Supports secret-path and secret-key.
    keyVaultUri String
    URI of an existing Azure Key Vault instance. Can be omitted and directly provided to Vault using the KEY_VAULT_URI environment variable.
    name String
    Unique name of the Azure destination.
    namespace String
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace.
    secretNameTemplate String
    Template describing how to generate external secret names. Supports a subset of the Go Template syntax.
    tenantId String
    ID of the target Azure tenant. Can be omitted and directly provided to Vault using the AZURE_TENANT_ID environment variable.
    type String
    The type of the secrets destination (azure-kv).

    Import

    Azure Secrets sync destinations can be imported using the name, e.g.

    $ pulumi import vault:secrets/syncAzureDestination:SyncAzureDestination az az-dest
    

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

    Package Details

    Repository
    Vault pulumi/pulumi-vault
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the vault Terraform Provider.
    vault logo
    Viewing docs for HashiCorp Vault v7.7.0
    published on Friday, Feb 6, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.