azure-native.secretsynccontroller.SecretSync
Explore with Pulumi AI
The SecretSync resource. Azure REST API version: 2024-08-21-preview.
Example Usage
SecretSyncs_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var secretSync = new AzureNative.SecretSyncController.SecretSync("secretSync", new()
    {
        ExtendedLocation = new AzureNative.SecretSyncController.Inputs.AzureResourceManagerCommonTypesExtendedLocationArgs
        {
            Name = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-ssc-example/providers/Microsoft.ExtendedLocation/customLocations/example-custom-location",
            Type = AzureNative.SecretSyncController.ExtendedLocationType.CustomLocation,
        },
        KubernetesSecretType = AzureNative.SecretSyncController.KubernetesSecretType.Opaque,
        Location = "eastus",
        ObjectSecretMapping = new[]
        {
            new AzureNative.SecretSyncController.Inputs.KubernetesSecretObjectMappingArgs
            {
                SourcePath = "kv-secret-name/0",
                TargetKey = "kv-secret-name/0",
            },
        },
        ResourceGroupName = "rg-ssc-example",
        SecretProviderClassName = "akvspc-ssc-example",
        SecretSyncName = "secretsync-ssc-example",
        ServiceAccountName = "example-k8s-sa-name",
        Tags = 
        {
            { "example-tag", "example-tag-value" },
        },
    });
});
package main
import (
	secretsynccontroller "github.com/pulumi/pulumi-azure-native-sdk/secretsynccontroller/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := secretsynccontroller.NewSecretSync(ctx, "secretSync", &secretsynccontroller.SecretSyncArgs{
			ExtendedLocation: &secretsynccontroller.AzureResourceManagerCommonTypesExtendedLocationArgs{
				Name: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-ssc-example/providers/Microsoft.ExtendedLocation/customLocations/example-custom-location"),
				Type: pulumi.String(secretsynccontroller.ExtendedLocationTypeCustomLocation),
			},
			KubernetesSecretType: pulumi.String(secretsynccontroller.KubernetesSecretTypeOpaque),
			Location:             pulumi.String("eastus"),
			ObjectSecretMapping: secretsynccontroller.KubernetesSecretObjectMappingArray{
				&secretsynccontroller.KubernetesSecretObjectMappingArgs{
					SourcePath: pulumi.String("kv-secret-name/0"),
					TargetKey:  pulumi.String("kv-secret-name/0"),
				},
			},
			ResourceGroupName:       pulumi.String("rg-ssc-example"),
			SecretProviderClassName: pulumi.String("akvspc-ssc-example"),
			SecretSyncName:          pulumi.String("secretsync-ssc-example"),
			ServiceAccountName:      pulumi.String("example-k8s-sa-name"),
			Tags: pulumi.StringMap{
				"example-tag": pulumi.String("example-tag-value"),
			},
		})
		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.secretsynccontroller.SecretSync;
import com.pulumi.azurenative.secretsynccontroller.SecretSyncArgs;
import com.pulumi.azurenative.secretsynccontroller.inputs.AzureResourceManagerCommonTypesExtendedLocationArgs;
import com.pulumi.azurenative.secretsynccontroller.inputs.KubernetesSecretObjectMappingArgs;
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 secretSync = new SecretSync("secretSync", SecretSyncArgs.builder()
            .extendedLocation(AzureResourceManagerCommonTypesExtendedLocationArgs.builder()
                .name("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-ssc-example/providers/Microsoft.ExtendedLocation/customLocations/example-custom-location")
                .type("CustomLocation")
                .build())
            .kubernetesSecretType("Opaque")
            .location("eastus")
            .objectSecretMapping(KubernetesSecretObjectMappingArgs.builder()
                .sourcePath("kv-secret-name/0")
                .targetKey("kv-secret-name/0")
                .build())
            .resourceGroupName("rg-ssc-example")
            .secretProviderClassName("akvspc-ssc-example")
            .secretSyncName("secretsync-ssc-example")
            .serviceAccountName("example-k8s-sa-name")
            .tags(Map.of("example-tag", "example-tag-value"))
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const secretSync = new azure_native.secretsynccontroller.SecretSync("secretSync", {
    extendedLocation: {
        name: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-ssc-example/providers/Microsoft.ExtendedLocation/customLocations/example-custom-location",
        type: azure_native.secretsynccontroller.ExtendedLocationType.CustomLocation,
    },
    kubernetesSecretType: azure_native.secretsynccontroller.KubernetesSecretType.Opaque,
    location: "eastus",
    objectSecretMapping: [{
        sourcePath: "kv-secret-name/0",
        targetKey: "kv-secret-name/0",
    }],
    resourceGroupName: "rg-ssc-example",
    secretProviderClassName: "akvspc-ssc-example",
    secretSyncName: "secretsync-ssc-example",
    serviceAccountName: "example-k8s-sa-name",
    tags: {
        "example-tag": "example-tag-value",
    },
});
import pulumi
import pulumi_azure_native as azure_native
secret_sync = azure_native.secretsynccontroller.SecretSync("secretSync",
    extended_location={
        "name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-ssc-example/providers/Microsoft.ExtendedLocation/customLocations/example-custom-location",
        "type": azure_native.secretsynccontroller.ExtendedLocationType.CUSTOM_LOCATION,
    },
    kubernetes_secret_type=azure_native.secretsynccontroller.KubernetesSecretType.OPAQUE,
    location="eastus",
    object_secret_mapping=[{
        "source_path": "kv-secret-name/0",
        "target_key": "kv-secret-name/0",
    }],
    resource_group_name="rg-ssc-example",
    secret_provider_class_name="akvspc-ssc-example",
    secret_sync_name="secretsync-ssc-example",
    service_account_name="example-k8s-sa-name",
    tags={
        "example-tag": "example-tag-value",
    })
resources:
  secretSync:
    type: azure-native:secretsynccontroller:SecretSync
    properties:
      extendedLocation:
        name: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-ssc-example/providers/Microsoft.ExtendedLocation/customLocations/example-custom-location
        type: CustomLocation
      kubernetesSecretType: Opaque
      location: eastus
      objectSecretMapping:
        - sourcePath: kv-secret-name/0
          targetKey: kv-secret-name/0
      resourceGroupName: rg-ssc-example
      secretProviderClassName: akvspc-ssc-example
      secretSyncName: secretsync-ssc-example
      serviceAccountName: example-k8s-sa-name
      tags:
        example-tag: example-tag-value
Create SecretSync Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecretSync(name: string, args: SecretSyncArgs, opts?: CustomResourceOptions);@overload
def SecretSync(resource_name: str,
               args: SecretSyncArgs,
               opts: Optional[ResourceOptions] = None)
@overload
def SecretSync(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               kubernetes_secret_type: Optional[Union[str, KubernetesSecretType]] = None,
               object_secret_mapping: Optional[Sequence[KubernetesSecretObjectMappingArgs]] = None,
               resource_group_name: Optional[str] = None,
               secret_provider_class_name: Optional[str] = None,
               service_account_name: Optional[str] = None,
               extended_location: Optional[AzureResourceManagerCommonTypesExtendedLocationArgs] = None,
               force_synchronization: Optional[str] = None,
               location: Optional[str] = None,
               secret_sync_name: Optional[str] = None,
               tags: Optional[Mapping[str, str]] = None)func NewSecretSync(ctx *Context, name string, args SecretSyncArgs, opts ...ResourceOption) (*SecretSync, error)public SecretSync(string name, SecretSyncArgs args, CustomResourceOptions? opts = null)
public SecretSync(String name, SecretSyncArgs args)
public SecretSync(String name, SecretSyncArgs args, CustomResourceOptions options)
type: azure-native:secretsynccontroller:SecretSync
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 SecretSyncArgs
- 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 SecretSyncArgs
- 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 SecretSyncArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecretSyncArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecretSyncArgs
- 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 secretSyncResource = new AzureNative.SecretSyncController.SecretSync("secretSyncResource", new()
{
    KubernetesSecretType = "string",
    ObjectSecretMapping = new[]
    {
        new AzureNative.SecretSyncController.Inputs.KubernetesSecretObjectMappingArgs
        {
            SourcePath = "string",
            TargetKey = "string",
        },
    },
    ResourceGroupName = "string",
    SecretProviderClassName = "string",
    ServiceAccountName = "string",
    ExtendedLocation = new AzureNative.SecretSyncController.Inputs.AzureResourceManagerCommonTypesExtendedLocationArgs
    {
        Name = "string",
        Type = "string",
    },
    ForceSynchronization = "string",
    Location = "string",
    SecretSyncName = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := secretsynccontroller.NewSecretSync(ctx, "secretSyncResource", &secretsynccontroller.SecretSyncArgs{
	KubernetesSecretType: pulumi.String("string"),
	ObjectSecretMapping: secretsynccontroller.KubernetesSecretObjectMappingArray{
		&secretsynccontroller.KubernetesSecretObjectMappingArgs{
			SourcePath: pulumi.String("string"),
			TargetKey:  pulumi.String("string"),
		},
	},
	ResourceGroupName:       pulumi.String("string"),
	SecretProviderClassName: pulumi.String("string"),
	ServiceAccountName:      pulumi.String("string"),
	ExtendedLocation: &secretsynccontroller.AzureResourceManagerCommonTypesExtendedLocationArgs{
		Name: pulumi.String("string"),
		Type: pulumi.String("string"),
	},
	ForceSynchronization: pulumi.String("string"),
	Location:             pulumi.String("string"),
	SecretSyncName:       pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var secretSyncResource = new SecretSync("secretSyncResource", SecretSyncArgs.builder()
    .kubernetesSecretType("string")
    .objectSecretMapping(KubernetesSecretObjectMappingArgs.builder()
        .sourcePath("string")
        .targetKey("string")
        .build())
    .resourceGroupName("string")
    .secretProviderClassName("string")
    .serviceAccountName("string")
    .extendedLocation(AzureResourceManagerCommonTypesExtendedLocationArgs.builder()
        .name("string")
        .type("string")
        .build())
    .forceSynchronization("string")
    .location("string")
    .secretSyncName("string")
    .tags(Map.of("string", "string"))
    .build());
secret_sync_resource = azure_native.secretsynccontroller.SecretSync("secretSyncResource",
    kubernetes_secret_type="string",
    object_secret_mapping=[{
        "source_path": "string",
        "target_key": "string",
    }],
    resource_group_name="string",
    secret_provider_class_name="string",
    service_account_name="string",
    extended_location={
        "name": "string",
        "type": "string",
    },
    force_synchronization="string",
    location="string",
    secret_sync_name="string",
    tags={
        "string": "string",
    })
const secretSyncResource = new azure_native.secretsynccontroller.SecretSync("secretSyncResource", {
    kubernetesSecretType: "string",
    objectSecretMapping: [{
        sourcePath: "string",
        targetKey: "string",
    }],
    resourceGroupName: "string",
    secretProviderClassName: "string",
    serviceAccountName: "string",
    extendedLocation: {
        name: "string",
        type: "string",
    },
    forceSynchronization: "string",
    location: "string",
    secretSyncName: "string",
    tags: {
        string: "string",
    },
});
type: azure-native:secretsynccontroller:SecretSync
properties:
    extendedLocation:
        name: string
        type: string
    forceSynchronization: string
    kubernetesSecretType: string
    location: string
    objectSecretMapping:
        - sourcePath: string
          targetKey: string
    resourceGroupName: string
    secretProviderClassName: string
    secretSyncName: string
    serviceAccountName: string
    tags:
        string: string
SecretSync 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 SecretSync resource accepts the following input properties:
- KubernetesSecret string | Pulumi.Type Azure Native. Secret Sync Controller. Kubernetes Secret Type 
- Type specifies the type of the Kubernetes secret object, e.g. "Opaque" or"kubernetes.io/tls". The controller must have permission to create secrets of the specified type.
- ObjectSecret List<Pulumi.Mapping Azure Native. Secret Sync Controller. Inputs. Kubernetes Secret Object Mapping> 
- An array of SecretObjectData that maps secret data from the external secret provider to the Kubernetes secret. Each entry specifies the source secret in the external provider and the corresponding key in the Kubernetes secret.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- SecretProvider stringClass Name 
- SecretProviderClassName specifies the name of the SecretProviderClass resource, which contains the information needed to access the cloud provider secret store.
- ServiceAccount stringName 
- ServiceAccountName specifies the name of the service account used to access the cloud provider secret store. The audience field in the service account token must be passed as parameter in the controller configuration. The audience is used when requesting a token from the API server for the service account; the supported audiences are defined by each provider.
- ExtendedLocation Pulumi.Azure Native. Secret Sync Controller. Inputs. Azure Resource Manager Common Types Extended Location 
- The complex type of the extended location.
- ForceSynchronization string
- ForceSynchronization can be used to force the secret synchronization. The secret synchronization is triggered by changing the value in this field. This field is not used to resolve synchronization conflicts.
- Location string
- The geo-location where the resource lives
- SecretSync stringName 
- The name of the SecretSync
- Dictionary<string, string>
- Resource tags.
- KubernetesSecret string | KubernetesType Secret Type 
- Type specifies the type of the Kubernetes secret object, e.g. "Opaque" or"kubernetes.io/tls". The controller must have permission to create secrets of the specified type.
- ObjectSecret []KubernetesMapping Secret Object Mapping Args 
- An array of SecretObjectData that maps secret data from the external secret provider to the Kubernetes secret. Each entry specifies the source secret in the external provider and the corresponding key in the Kubernetes secret.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- SecretProvider stringClass Name 
- SecretProviderClassName specifies the name of the SecretProviderClass resource, which contains the information needed to access the cloud provider secret store.
- ServiceAccount stringName 
- ServiceAccountName specifies the name of the service account used to access the cloud provider secret store. The audience field in the service account token must be passed as parameter in the controller configuration. The audience is used when requesting a token from the API server for the service account; the supported audiences are defined by each provider.
- ExtendedLocation AzureResource Manager Common Types Extended Location Args 
- The complex type of the extended location.
- ForceSynchronization string
- ForceSynchronization can be used to force the secret synchronization. The secret synchronization is triggered by changing the value in this field. This field is not used to resolve synchronization conflicts.
- Location string
- The geo-location where the resource lives
- SecretSync stringName 
- The name of the SecretSync
- map[string]string
- Resource tags.
- kubernetesSecret String | KubernetesType Secret Type 
- Type specifies the type of the Kubernetes secret object, e.g. "Opaque" or"kubernetes.io/tls". The controller must have permission to create secrets of the specified type.
- objectSecret List<KubernetesMapping Secret Object Mapping> 
- An array of SecretObjectData that maps secret data from the external secret provider to the Kubernetes secret. Each entry specifies the source secret in the external provider and the corresponding key in the Kubernetes secret.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- secretProvider StringClass Name 
- SecretProviderClassName specifies the name of the SecretProviderClass resource, which contains the information needed to access the cloud provider secret store.
- serviceAccount StringName 
- ServiceAccountName specifies the name of the service account used to access the cloud provider secret store. The audience field in the service account token must be passed as parameter in the controller configuration. The audience is used when requesting a token from the API server for the service account; the supported audiences are defined by each provider.
- extendedLocation AzureResource Manager Common Types Extended Location 
- The complex type of the extended location.
- forceSynchronization String
- ForceSynchronization can be used to force the secret synchronization. The secret synchronization is triggered by changing the value in this field. This field is not used to resolve synchronization conflicts.
- location String
- The geo-location where the resource lives
- secretSync StringName 
- The name of the SecretSync
- Map<String,String>
- Resource tags.
- kubernetesSecret string | KubernetesType Secret Type 
- Type specifies the type of the Kubernetes secret object, e.g. "Opaque" or"kubernetes.io/tls". The controller must have permission to create secrets of the specified type.
- objectSecret KubernetesMapping Secret Object Mapping[] 
- An array of SecretObjectData that maps secret data from the external secret provider to the Kubernetes secret. Each entry specifies the source secret in the external provider and the corresponding key in the Kubernetes secret.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- secretProvider stringClass Name 
- SecretProviderClassName specifies the name of the SecretProviderClass resource, which contains the information needed to access the cloud provider secret store.
- serviceAccount stringName 
- ServiceAccountName specifies the name of the service account used to access the cloud provider secret store. The audience field in the service account token must be passed as parameter in the controller configuration. The audience is used when requesting a token from the API server for the service account; the supported audiences are defined by each provider.
- extendedLocation AzureResource Manager Common Types Extended Location 
- The complex type of the extended location.
- forceSynchronization string
- ForceSynchronization can be used to force the secret synchronization. The secret synchronization is triggered by changing the value in this field. This field is not used to resolve synchronization conflicts.
- location string
- The geo-location where the resource lives
- secretSync stringName 
- The name of the SecretSync
- {[key: string]: string}
- Resource tags.
- kubernetes_secret_ str | Kubernetestype Secret Type 
- Type specifies the type of the Kubernetes secret object, e.g. "Opaque" or"kubernetes.io/tls". The controller must have permission to create secrets of the specified type.
- object_secret_ Sequence[Kubernetesmapping Secret Object Mapping Args] 
- An array of SecretObjectData that maps secret data from the external secret provider to the Kubernetes secret. Each entry specifies the source secret in the external provider and the corresponding key in the Kubernetes secret.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- secret_provider_ strclass_ name 
- SecretProviderClassName specifies the name of the SecretProviderClass resource, which contains the information needed to access the cloud provider secret store.
- service_account_ strname 
- ServiceAccountName specifies the name of the service account used to access the cloud provider secret store. The audience field in the service account token must be passed as parameter in the controller configuration. The audience is used when requesting a token from the API server for the service account; the supported audiences are defined by each provider.
- extended_location AzureResource Manager Common Types Extended Location Args 
- The complex type of the extended location.
- force_synchronization str
- ForceSynchronization can be used to force the secret synchronization. The secret synchronization is triggered by changing the value in this field. This field is not used to resolve synchronization conflicts.
- location str
- The geo-location where the resource lives
- secret_sync_ strname 
- The name of the SecretSync
- Mapping[str, str]
- Resource tags.
- kubernetesSecret String | "Opaque" | "kubernetes.io/tls"Type 
- Type specifies the type of the Kubernetes secret object, e.g. "Opaque" or"kubernetes.io/tls". The controller must have permission to create secrets of the specified type.
- objectSecret List<Property Map>Mapping 
- An array of SecretObjectData that maps secret data from the external secret provider to the Kubernetes secret. Each entry specifies the source secret in the external provider and the corresponding key in the Kubernetes secret.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- secretProvider StringClass Name 
- SecretProviderClassName specifies the name of the SecretProviderClass resource, which contains the information needed to access the cloud provider secret store.
- serviceAccount StringName 
- ServiceAccountName specifies the name of the service account used to access the cloud provider secret store. The audience field in the service account token must be passed as parameter in the controller configuration. The audience is used when requesting a token from the API server for the service account; the supported audiences are defined by each provider.
- extendedLocation Property Map
- The complex type of the extended location.
- forceSynchronization String
- ForceSynchronization can be used to force the secret synchronization. The secret synchronization is triggered by changing the value in this field. This field is not used to resolve synchronization conflicts.
- location String
- The geo-location where the resource lives
- secretSync StringName 
- The name of the SecretSync
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the SecretSync resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- ProvisioningState string
- Provisioning state of the SecretSync instance.
- Status
Pulumi.Azure Native. Secret Sync Controller. Outputs. Secret Sync Status Response 
- SecretSyncStatus defines the observed state of the secret synchronization process.
- SystemData Pulumi.Azure Native. Secret Sync Controller. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- ProvisioningState string
- Provisioning state of the SecretSync instance.
- Status
SecretSync Status Response 
- SecretSyncStatus defines the observed state of the secret synchronization process.
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioningState String
- Provisioning state of the SecretSync instance.
- status
SecretSync Status Response 
- SecretSyncStatus defines the observed state of the secret synchronization process.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioningState string
- Provisioning state of the SecretSync instance.
- status
SecretSync Status Response 
- SecretSyncStatus defines the observed state of the secret synchronization process.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_state str
- Provisioning state of the SecretSync instance.
- status
SecretSync Status Response 
- SecretSyncStatus defines the observed state of the secret synchronization process.
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioningState String
- Provisioning state of the SecretSync instance.
- status Property Map
- SecretSyncStatus defines the observed state of the secret synchronization process.
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AzureResourceManagerCommonTypesExtendedLocation, AzureResourceManagerCommonTypesExtendedLocationArgs              
- Name string
- The name of the extended location.
- Type
string | Pulumi.Azure Native. Secret Sync Controller. Extended Location Type 
- The type of the extended location.
- Name string
- The name of the extended location.
- Type
string | ExtendedLocation Type 
- The type of the extended location.
- name String
- The name of the extended location.
- type
String | ExtendedLocation Type 
- The type of the extended location.
- name string
- The name of the extended location.
- type
string | ExtendedLocation Type 
- The type of the extended location.
- name str
- The name of the extended location.
- type
str | ExtendedLocation Type 
- The type of the extended location.
- name String
- The name of the extended location.
- type
String | "EdgeZone" | "Custom Location" 
- The type of the extended location.
AzureResourceManagerCommonTypesExtendedLocationResponse, AzureResourceManagerCommonTypesExtendedLocationResponseArgs                
ExtendedLocationType, ExtendedLocationTypeArgs      
- EdgeZone 
- EdgeZoneAzure Edge Zones location type
- CustomLocation 
- CustomLocationAzure Custom Locations type
- ExtendedLocation Type Edge Zone 
- EdgeZoneAzure Edge Zones location type
- ExtendedLocation Type Custom Location 
- CustomLocationAzure Custom Locations type
- EdgeZone 
- EdgeZoneAzure Edge Zones location type
- CustomLocation 
- CustomLocationAzure Custom Locations type
- EdgeZone 
- EdgeZoneAzure Edge Zones location type
- CustomLocation 
- CustomLocationAzure Custom Locations type
- EDGE_ZONE
- EdgeZoneAzure Edge Zones location type
- CUSTOM_LOCATION
- CustomLocationAzure Custom Locations type
- "EdgeZone" 
- EdgeZoneAzure Edge Zones location type
- "CustomLocation" 
- CustomLocationAzure Custom Locations type
KubernetesSecretObjectMapping, KubernetesSecretObjectMappingArgs        
- SourcePath string
- SourcePath is the identifier for the secret data as defined by the external secret provider. This is the key or path to the secret in the provider's system, which gets mounted to a specific path in the pod. The value should match the name of the secret as specified in the SecretProviderClass's objects array.
- TargetKey string
- TargetKey is the key in the Kubernetes secret's data field where the secret value will be stored. This key is used to reference the secret data within Kubernetes, and it should be unique within the secret.
- SourcePath string
- SourcePath is the identifier for the secret data as defined by the external secret provider. This is the key or path to the secret in the provider's system, which gets mounted to a specific path in the pod. The value should match the name of the secret as specified in the SecretProviderClass's objects array.
- TargetKey string
- TargetKey is the key in the Kubernetes secret's data field where the secret value will be stored. This key is used to reference the secret data within Kubernetes, and it should be unique within the secret.
- sourcePath String
- SourcePath is the identifier for the secret data as defined by the external secret provider. This is the key or path to the secret in the provider's system, which gets mounted to a specific path in the pod. The value should match the name of the secret as specified in the SecretProviderClass's objects array.
- targetKey String
- TargetKey is the key in the Kubernetes secret's data field where the secret value will be stored. This key is used to reference the secret data within Kubernetes, and it should be unique within the secret.
- sourcePath string
- SourcePath is the identifier for the secret data as defined by the external secret provider. This is the key or path to the secret in the provider's system, which gets mounted to a specific path in the pod. The value should match the name of the secret as specified in the SecretProviderClass's objects array.
- targetKey string
- TargetKey is the key in the Kubernetes secret's data field where the secret value will be stored. This key is used to reference the secret data within Kubernetes, and it should be unique within the secret.
- source_path str
- SourcePath is the identifier for the secret data as defined by the external secret provider. This is the key or path to the secret in the provider's system, which gets mounted to a specific path in the pod. The value should match the name of the secret as specified in the SecretProviderClass's objects array.
- target_key str
- TargetKey is the key in the Kubernetes secret's data field where the secret value will be stored. This key is used to reference the secret data within Kubernetes, and it should be unique within the secret.
- sourcePath String
- SourcePath is the identifier for the secret data as defined by the external secret provider. This is the key or path to the secret in the provider's system, which gets mounted to a specific path in the pod. The value should match the name of the secret as specified in the SecretProviderClass's objects array.
- targetKey String
- TargetKey is the key in the Kubernetes secret's data field where the secret value will be stored. This key is used to reference the secret data within Kubernetes, and it should be unique within the secret.
KubernetesSecretObjectMappingResponse, KubernetesSecretObjectMappingResponseArgs          
- SourcePath string
- SourcePath is the identifier for the secret data as defined by the external secret provider. This is the key or path to the secret in the provider's system, which gets mounted to a specific path in the pod. The value should match the name of the secret as specified in the SecretProviderClass's objects array.
- TargetKey string
- TargetKey is the key in the Kubernetes secret's data field where the secret value will be stored. This key is used to reference the secret data within Kubernetes, and it should be unique within the secret.
- SourcePath string
- SourcePath is the identifier for the secret data as defined by the external secret provider. This is the key or path to the secret in the provider's system, which gets mounted to a specific path in the pod. The value should match the name of the secret as specified in the SecretProviderClass's objects array.
- TargetKey string
- TargetKey is the key in the Kubernetes secret's data field where the secret value will be stored. This key is used to reference the secret data within Kubernetes, and it should be unique within the secret.
- sourcePath String
- SourcePath is the identifier for the secret data as defined by the external secret provider. This is the key or path to the secret in the provider's system, which gets mounted to a specific path in the pod. The value should match the name of the secret as specified in the SecretProviderClass's objects array.
- targetKey String
- TargetKey is the key in the Kubernetes secret's data field where the secret value will be stored. This key is used to reference the secret data within Kubernetes, and it should be unique within the secret.
- sourcePath string
- SourcePath is the identifier for the secret data as defined by the external secret provider. This is the key or path to the secret in the provider's system, which gets mounted to a specific path in the pod. The value should match the name of the secret as specified in the SecretProviderClass's objects array.
- targetKey string
- TargetKey is the key in the Kubernetes secret's data field where the secret value will be stored. This key is used to reference the secret data within Kubernetes, and it should be unique within the secret.
- source_path str
- SourcePath is the identifier for the secret data as defined by the external secret provider. This is the key or path to the secret in the provider's system, which gets mounted to a specific path in the pod. The value should match the name of the secret as specified in the SecretProviderClass's objects array.
- target_key str
- TargetKey is the key in the Kubernetes secret's data field where the secret value will be stored. This key is used to reference the secret data within Kubernetes, and it should be unique within the secret.
- sourcePath String
- SourcePath is the identifier for the secret data as defined by the external secret provider. This is the key or path to the secret in the provider's system, which gets mounted to a specific path in the pod. The value should match the name of the secret as specified in the SecretProviderClass's objects array.
- targetKey String
- TargetKey is the key in the Kubernetes secret's data field where the secret value will be stored. This key is used to reference the secret data within Kubernetes, and it should be unique within the secret.
KubernetesSecretType, KubernetesSecretTypeArgs      
- Opaque
- OpaqueOpaque is the default secret type.
- Tls
- kubernetes.io/tlsThe kubernetes.io/tls secret type is for storing a certificate and its associated key that are typically used for TLS.
- KubernetesSecret Type Opaque 
- OpaqueOpaque is the default secret type.
- KubernetesSecret Type Tls 
- kubernetes.io/tlsThe kubernetes.io/tls secret type is for storing a certificate and its associated key that are typically used for TLS.
- Opaque
- OpaqueOpaque is the default secret type.
- Tls
- kubernetes.io/tlsThe kubernetes.io/tls secret type is for storing a certificate and its associated key that are typically used for TLS.
- Opaque
- OpaqueOpaque is the default secret type.
- Tls
- kubernetes.io/tlsThe kubernetes.io/tls secret type is for storing a certificate and its associated key that are typically used for TLS.
- OPAQUE
- OpaqueOpaque is the default secret type.
- TLS
- kubernetes.io/tlsThe kubernetes.io/tls secret type is for storing a certificate and its associated key that are typically used for TLS.
- "Opaque"
- OpaqueOpaque is the default secret type.
- "kubernetes.io/tls"
- kubernetes.io/tlsThe kubernetes.io/tls secret type is for storing a certificate and its associated key that are typically used for TLS.
SecretSyncConditionResponse, SecretSyncConditionResponseArgs        
- LastTransition stringTime 
- LastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
- Message string
- Message is a human readable message indicating details about the transition. This may be an empty string.
- ObservedGeneration double
- ObservedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
- Reason string
- Reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
- Status string
- Status of the condition, one of True, False, Unknown.
- Type string
- Type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to de-conflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
- LastTransition stringTime 
- LastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
- Message string
- Message is a human readable message indicating details about the transition. This may be an empty string.
- ObservedGeneration float64
- ObservedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
- Reason string
- Reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
- Status string
- Status of the condition, one of True, False, Unknown.
- Type string
- Type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to de-conflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
- lastTransition StringTime 
- LastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
- message String
- Message is a human readable message indicating details about the transition. This may be an empty string.
- observedGeneration Double
- ObservedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
- reason String
- Reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
- status String
- Status of the condition, one of True, False, Unknown.
- type String
- Type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to de-conflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
- lastTransition stringTime 
- LastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
- message string
- Message is a human readable message indicating details about the transition. This may be an empty string.
- observedGeneration number
- ObservedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
- reason string
- Reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
- status string
- Status of the condition, one of True, False, Unknown.
- type string
- Type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to de-conflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
- last_transition_ strtime 
- LastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
- message str
- Message is a human readable message indicating details about the transition. This may be an empty string.
- observed_generation float
- ObservedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
- reason str
- Reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
- status str
- Status of the condition, one of True, False, Unknown.
- type str
- Type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to de-conflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
- lastTransition StringTime 
- LastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
- message String
- Message is a human readable message indicating details about the transition. This may be an empty string.
- observedGeneration Number
- ObservedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
- reason String
- Reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
- status String
- Status of the condition, one of True, False, Unknown.
- type String
- Type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to de-conflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
SecretSyncStatusResponse, SecretSyncStatusResponseArgs        
- Conditions
List<Pulumi.Azure Native. Secret Sync Controller. Inputs. Secret Sync Condition Response> 
- Conditions represent the status of the secret create and update processes. The status can be True, False, or Unknown with various reasons and messages explaining the state. Examples of reasons include CreateSucceeded, ProviderError, InvalidClusterSecretLabelError, InvalidClusterSecretAnnotationError, UnknownError, ValidatingAdmissionPolicyCheckFailed, UserInputValidationFailed, ControllerSpcError, ControllerInternalError, NoValueChange, and ValueChangeOrForceUpdateDetected.
- LastSuccessful stringSync Time 
- LastSuccessfulSyncTime represents the last time the secret was retrieved from the Provider and updated.
- Conditions
[]SecretSync Condition Response 
- Conditions represent the status of the secret create and update processes. The status can be True, False, or Unknown with various reasons and messages explaining the state. Examples of reasons include CreateSucceeded, ProviderError, InvalidClusterSecretLabelError, InvalidClusterSecretAnnotationError, UnknownError, ValidatingAdmissionPolicyCheckFailed, UserInputValidationFailed, ControllerSpcError, ControllerInternalError, NoValueChange, and ValueChangeOrForceUpdateDetected.
- LastSuccessful stringSync Time 
- LastSuccessfulSyncTime represents the last time the secret was retrieved from the Provider and updated.
- conditions
List<SecretSync Condition Response> 
- Conditions represent the status of the secret create and update processes. The status can be True, False, or Unknown with various reasons and messages explaining the state. Examples of reasons include CreateSucceeded, ProviderError, InvalidClusterSecretLabelError, InvalidClusterSecretAnnotationError, UnknownError, ValidatingAdmissionPolicyCheckFailed, UserInputValidationFailed, ControllerSpcError, ControllerInternalError, NoValueChange, and ValueChangeOrForceUpdateDetected.
- lastSuccessful StringSync Time 
- LastSuccessfulSyncTime represents the last time the secret was retrieved from the Provider and updated.
- conditions
SecretSync Condition Response[] 
- Conditions represent the status of the secret create and update processes. The status can be True, False, or Unknown with various reasons and messages explaining the state. Examples of reasons include CreateSucceeded, ProviderError, InvalidClusterSecretLabelError, InvalidClusterSecretAnnotationError, UnknownError, ValidatingAdmissionPolicyCheckFailed, UserInputValidationFailed, ControllerSpcError, ControllerInternalError, NoValueChange, and ValueChangeOrForceUpdateDetected.
- lastSuccessful stringSync Time 
- LastSuccessfulSyncTime represents the last time the secret was retrieved from the Provider and updated.
- conditions
Sequence[SecretSync Condition Response] 
- Conditions represent the status of the secret create and update processes. The status can be True, False, or Unknown with various reasons and messages explaining the state. Examples of reasons include CreateSucceeded, ProviderError, InvalidClusterSecretLabelError, InvalidClusterSecretAnnotationError, UnknownError, ValidatingAdmissionPolicyCheckFailed, UserInputValidationFailed, ControllerSpcError, ControllerInternalError, NoValueChange, and ValueChangeOrForceUpdateDetected.
- last_successful_ strsync_ time 
- LastSuccessfulSyncTime represents the last time the secret was retrieved from the Provider and updated.
- conditions List<Property Map>
- Conditions represent the status of the secret create and update processes. The status can be True, False, or Unknown with various reasons and messages explaining the state. Examples of reasons include CreateSucceeded, ProviderError, InvalidClusterSecretLabelError, InvalidClusterSecretAnnotationError, UnknownError, ValidatingAdmissionPolicyCheckFailed, UserInputValidationFailed, ControllerSpcError, ControllerInternalError, NoValueChange, and ValueChangeOrForceUpdateDetected.
- lastSuccessful StringSync Time 
- LastSuccessfulSyncTime represents the last time the secret was retrieved from the Provider and updated.
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:secretsynccontroller:SecretSync secretsync-ssc-example /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecretSyncController/secretSyncs/{secretSyncName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0