1. Packages
  2. HashiCorp Vault
  3. API Docs
  4. secrets
  5. SyncAzureDestination
HashiCorp Vault v6.1.0 published on Thursday, Apr 4, 2024 by Pulumi

vault.secrets.SyncAzureDestination

Explore with Pulumi AI

vault logo
HashiCorp Vault v6.1.0 published on Thursday, Apr 4, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vault from "@pulumi/vault";
    
    const az = new vault.secrets.SyncAzureDestination("az", {
        keyVaultUri: _var.key_vault_uri,
        clientId: _var.client_id,
        clientSecret: _var.client_secret,
        tenantId: _var.tenant_id,
        secretNameTemplate: "vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}",
        customTags: {
            foo: "bar",
        },
    });
    
    import pulumi
    import pulumi_vault as vault
    
    az = vault.secrets.SyncAzureDestination("az",
        key_vault_uri=var["key_vault_uri"],
        client_id=var["client_id"],
        client_secret=var["client_secret"],
        tenant_id=var["tenant_id"],
        secret_name_template="vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}",
        custom_tags={
            "foo": "bar",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-vault/sdk/v6/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{
    			KeyVaultUri:        pulumi.Any(_var.Key_vault_uri),
    			ClientId:           pulumi.Any(_var.Client_id),
    			ClientSecret:       pulumi.Any(_var.Client_secret),
    			TenantId:           pulumi.Any(_var.Tenant_id),
    			SecretNameTemplate: pulumi.String("vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}"),
    			CustomTags: pulumi.Map{
    				"foo": pulumi.Any("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()
        {
            KeyVaultUri = @var.Key_vault_uri,
            ClientId = @var.Client_id,
            ClientSecret = @var.Client_secret,
            TenantId = @var.Tenant_id,
            SecretNameTemplate = "vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}",
            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()        
                .keyVaultUri(var_.key_vault_uri())
                .clientId(var_.client_id())
                .clientSecret(var_.client_secret())
                .tenantId(var_.tenant_id())
                .secretNameTemplate("vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}")
                .customTags(Map.of("foo", "bar"))
                .build());
    
        }
    }
    
    resources:
      az:
        type: vault:secrets:SyncAzureDestination
        properties:
          keyVaultUri: ${var.key_vault_uri}
          clientId: ${var.client_id}
          clientSecret: ${var.client_secret}
          tenantId: ${var.tenant_id}
          secretNameTemplate: vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}
          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,
                             client_id: Optional[str] = None,
                             client_secret: Optional[str] = None,
                             cloud: Optional[str] = None,
                             custom_tags: Optional[Mapping[str, Any]] = 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.

    Example

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

    var syncAzureDestinationResource = new Vault.Secrets.SyncAzureDestination("syncAzureDestinationResource", new()
    {
        ClientId = "string",
        ClientSecret = "string",
        Cloud = "string",
        CustomTags = 
        {
            { "string", "any" },
        },
        Granularity = "string",
        KeyVaultUri = "string",
        Name = "string",
        Namespace = "string",
        SecretNameTemplate = "string",
        TenantId = "string",
    });
    
    example, err := secrets.NewSyncAzureDestination(ctx, "syncAzureDestinationResource", &secrets.SyncAzureDestinationArgs{
    	ClientId:     pulumi.String("string"),
    	ClientSecret: pulumi.String("string"),
    	Cloud:        pulumi.String("string"),
    	CustomTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	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()        
        .clientId("string")
        .clientSecret("string")
        .cloud("string")
        .customTags(Map.of("string", "any"))
        .granularity("string")
        .keyVaultUri("string")
        .name("string")
        .namespace("string")
        .secretNameTemplate("string")
        .tenantId("string")
        .build());
    
    sync_azure_destination_resource = vault.secrets.SyncAzureDestination("syncAzureDestinationResource",
        client_id="string",
        client_secret="string",
        cloud="string",
        custom_tags={
            "string": "any",
        },
        granularity="string",
        key_vault_uri="string",
        name="string",
        namespace="string",
        secret_name_template="string",
        tenant_id="string")
    
    const syncAzureDestinationResource = new vault.secrets.SyncAzureDestination("syncAzureDestinationResource", {
        clientId: "string",
        clientSecret: "string",
        cloud: "string",
        customTags: {
            string: "any",
        },
        granularity: "string",
        keyVaultUri: "string",
        name: "string",
        namespace: "string",
        secretNameTemplate: "string",
        tenantId: "string",
    });
    
    type: vault:secrets:SyncAzureDestination
    properties:
        clientId: string
        clientSecret: string
        cloud: string
        customTags:
            string: any
        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

    The SyncAzureDestination resource accepts the following input properties:

    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, object>
    Custom tags to set on the secret managed at the destination.
    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.
    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]interface{}
    Custom tags to set on the secret managed at the destination.
    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.
    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,Object>
    Custom tags to set on the secret managed at the destination.
    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.
    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]: any}
    Custom tags to set on the secret managed at the destination.
    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.
    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, Any]
    Custom tags to set on the secret managed at the destination.
    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.
    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<Any>
    Custom tags to set on the secret managed at the destination.
    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,
            client_id: Optional[str] = None,
            client_secret: Optional[str] = None,
            cloud: Optional[str] = None,
            custom_tags: Optional[Mapping[str, Any]] = 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)
    Resource lookup is not supported in YAML
    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:
    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, object>
    Custom tags to set on the secret managed at the destination.
    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).
    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]interface{}
    Custom tags to set on the secret managed at the destination.
    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).
    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,Object>
    Custom tags to set on the secret managed at the destination.
    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).
    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]: any}
    Custom tags to set on the secret managed at the destination.
    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).
    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, Any]
    Custom tags to set on the secret managed at the destination.
    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).
    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<Any>
    Custom tags to set on the secret managed at the destination.
    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
    HashiCorp Vault v6.1.0 published on Thursday, Apr 4, 2024 by Pulumi