azure-native-v2.secretsynccontroller.AzureKeyVaultSecretProviderClass
Explore with Pulumi AI
The AzureKeyVaultSecretProviderClass resource. Azure REST API version: 2024-08-21-preview.
Create AzureKeyVaultSecretProviderClass Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AzureKeyVaultSecretProviderClass(name: string, args: AzureKeyVaultSecretProviderClassArgs, opts?: CustomResourceOptions);
@overload
def AzureKeyVaultSecretProviderClass(resource_name: str,
args: AzureKeyVaultSecretProviderClassArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AzureKeyVaultSecretProviderClass(resource_name: str,
opts: Optional[ResourceOptions] = None,
client_id: Optional[str] = None,
keyvault_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
tenant_id: Optional[str] = None,
azure_key_vault_secret_provider_class_name: Optional[str] = None,
extended_location: Optional[AzureResourceManagerCommonTypesExtendedLocationArgs] = None,
location: Optional[str] = None,
objects: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewAzureKeyVaultSecretProviderClass(ctx *Context, name string, args AzureKeyVaultSecretProviderClassArgs, opts ...ResourceOption) (*AzureKeyVaultSecretProviderClass, error)
public AzureKeyVaultSecretProviderClass(string name, AzureKeyVaultSecretProviderClassArgs args, CustomResourceOptions? opts = null)
public AzureKeyVaultSecretProviderClass(String name, AzureKeyVaultSecretProviderClassArgs args)
public AzureKeyVaultSecretProviderClass(String name, AzureKeyVaultSecretProviderClassArgs args, CustomResourceOptions options)
type: azure-native:secretsynccontroller:AzureKeyVaultSecretProviderClass
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. AzureKeyVaultSecretProviderClassArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. AzureKeyVaultSecretProviderClassArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. AzureKeyVaultSecretProviderClassArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. AzureKeyVaultSecretProviderClassArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. AzureKeyVaultSecretProviderClassArgs - 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 azureKeyVaultSecretProviderClassResource = new AzureNative.Secretsynccontroller.AzureKeyVaultSecretProviderClass("azureKeyVaultSecretProviderClassResource", new()
{
ClientId = "string",
KeyvaultName = "string",
ResourceGroupName = "string",
TenantId = "string",
AzureKeyVaultSecretProviderClassName = "string",
ExtendedLocation =
{
{ "name", "string" },
{ "type", "string" },
},
Location = "string",
Objects = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := secretsynccontroller.NewAzureKeyVaultSecretProviderClass(ctx, "azureKeyVaultSecretProviderClassResource", &secretsynccontroller.AzureKeyVaultSecretProviderClassArgs{
ClientId: "string",
KeyvaultName: "string",
ResourceGroupName: "string",
TenantId: "string",
AzureKeyVaultSecretProviderClassName: "string",
ExtendedLocation: map[string]interface{}{
"name": "string",
"type": "string",
},
Location: "string",
Objects: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var azureKeyVaultSecretProviderClassResource = new AzureKeyVaultSecretProviderClass("azureKeyVaultSecretProviderClassResource", AzureKeyVaultSecretProviderClassArgs.builder()
.clientId("string")
.keyvaultName("string")
.resourceGroupName("string")
.tenantId("string")
.azureKeyVaultSecretProviderClassName("string")
.extendedLocation(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.location("string")
.objects("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
azure_key_vault_secret_provider_class_resource = azure_native.secretsynccontroller.AzureKeyVaultSecretProviderClass("azureKeyVaultSecretProviderClassResource",
client_id=string,
keyvault_name=string,
resource_group_name=string,
tenant_id=string,
azure_key_vault_secret_provider_class_name=string,
extended_location={
name: string,
type: string,
},
location=string,
objects=string,
tags={
string: string,
})
const azureKeyVaultSecretProviderClassResource = new azure_native.secretsynccontroller.AzureKeyVaultSecretProviderClass("azureKeyVaultSecretProviderClassResource", {
clientId: "string",
keyvaultName: "string",
resourceGroupName: "string",
tenantId: "string",
azureKeyVaultSecretProviderClassName: "string",
extendedLocation: {
name: "string",
type: "string",
},
location: "string",
objects: "string",
tags: {
string: "string",
},
});
type: azure-native:secretsynccontroller:AzureKeyVaultSecretProviderClass
properties:
azureKeyVaultSecretProviderClassName: string
clientId: string
extendedLocation:
name: string
type: string
keyvaultName: string
location: string
objects: string
resourceGroupName: string
tags:
string: string
tenantId: string
AzureKeyVaultSecretProviderClass 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 AzureKeyVaultSecretProviderClass resource accepts the following input properties:
- Client
Id This property is required. string - The user assigned managed identity client ID that should be used to access the Azure Key Vault.
- Keyvault
Name This property is required. string - The name of the Azure Key Vault to sync secrets from.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Tenant
Id This property is required. string - The Azure Active Directory tenant ID that should be used for authenticating requests to the Azure Key Vault.
- Azure
Key Vault Secret Provider Class Name Changes to this property will trigger replacement.
- The name of the AzureKeyVaultSecretProviderClass
- Extended
Location Changes to this property will trigger replacement.
Azure Native. Secret Sync Controller. Inputs. Azure Resource Manager Common Types Extended Location - The complex type of the extended location.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Objects string
- Objects defines the desired state of synced K8s secret objects
- Dictionary<string, string>
- Resource tags.
- Client
Id This property is required. string - The user assigned managed identity client ID that should be used to access the Azure Key Vault.
- Keyvault
Name This property is required. string - The name of the Azure Key Vault to sync secrets from.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Tenant
Id This property is required. string - The Azure Active Directory tenant ID that should be used for authenticating requests to the Azure Key Vault.
- Azure
Key Vault Secret Provider Class Name Changes to this property will trigger replacement.
- The name of the AzureKeyVaultSecretProviderClass
- Extended
Location Changes to this property will trigger replacement.
Resource Manager Common Types Extended Location Args - The complex type of the extended location.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Objects string
- Objects defines the desired state of synced K8s secret objects
- map[string]string
- Resource tags.
- client
Id This property is required. String - The user assigned managed identity client ID that should be used to access the Azure Key Vault.
- keyvault
Name This property is required. String - The name of the Azure Key Vault to sync secrets from.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- tenant
Id This property is required. String - The Azure Active Directory tenant ID that should be used for authenticating requests to the Azure Key Vault.
- azure
Key Vault Secret Provider Class Name Changes to this property will trigger replacement.
- The name of the AzureKeyVaultSecretProviderClass
- extended
Location Changes to this property will trigger replacement.
Resource Manager Common Types Extended Location - The complex type of the extended location.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- objects String
- Objects defines the desired state of synced K8s secret objects
- Map<String,String>
- Resource tags.
- client
Id This property is required. string - The user assigned managed identity client ID that should be used to access the Azure Key Vault.
- keyvault
Name This property is required. string - The name of the Azure Key Vault to sync secrets from.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- tenant
Id This property is required. string - The Azure Active Directory tenant ID that should be used for authenticating requests to the Azure Key Vault.
- azure
Key Vault Secret Provider Class Name Changes to this property will trigger replacement.
- The name of the AzureKeyVaultSecretProviderClass
- extended
Location Changes to this property will trigger replacement.
Resource Manager Common Types Extended Location - The complex type of the extended location.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- objects string
- Objects defines the desired state of synced K8s secret objects
- {[key: string]: string}
- Resource tags.
- client_
id This property is required. str - The user assigned managed identity client ID that should be used to access the Azure Key Vault.
- keyvault_
name This property is required. str - The name of the Azure Key Vault to sync secrets from.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- tenant_
id This property is required. str - The Azure Active Directory tenant ID that should be used for authenticating requests to the Azure Key Vault.
- azure_
key_ vault_ secret_ provider_ class_ name Changes to this property will trigger replacement.
- The name of the AzureKeyVaultSecretProviderClass
- extended_
location Changes to this property will trigger replacement.
Resource Manager Common Types Extended Location Args - The complex type of the extended location.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- objects str
- Objects defines the desired state of synced K8s secret objects
- Mapping[str, str]
- Resource tags.
- client
Id This property is required. String - The user assigned managed identity client ID that should be used to access the Azure Key Vault.
- keyvault
Name This property is required. String - The name of the Azure Key Vault to sync secrets from.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- tenant
Id This property is required. String - The Azure Active Directory tenant ID that should be used for authenticating requests to the Azure Key Vault.
- azure
Key Vault Secret Provider Class Name Changes to this property will trigger replacement.
- The name of the AzureKeyVaultSecretProviderClass
- extended
Location Changes to this property will trigger replacement.
- The complex type of the extended location.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- objects String
- Objects defines the desired state of synced K8s secret objects
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the AzureKeyVaultSecretProviderClass resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the AzureKeyVaultSecretProviderClass instance.
- System
Data 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
- Provisioning
State string - Provisioning state of the AzureKeyVaultSecretProviderClass instance.
- System
Data 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
- provisioning
State String - Provisioning state of the AzureKeyVaultSecretProviderClass instance.
- system
Data 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
- provisioning
State string - Provisioning state of the AzureKeyVaultSecretProviderClass instance.
- system
Data 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 AzureKeyVaultSecretProviderClass instance.
- 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
- provisioning
State String - Provisioning state of the AzureKeyVaultSecretProviderClass instance.
- system
Data 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
This property is required. string - The name of the extended location.
- Type
This property is required. string | Pulumi.Azure Native. Secret Sync Controller. Extended Location Type - The type of the extended location.
- Name
This property is required. string - The name of the extended location.
- Type
This property is required. string | ExtendedLocation Type - The type of the extended location.
- name
This property is required. String - The name of the extended location.
- type
This property is required. String | ExtendedLocation Type - The type of the extended location.
- name
This property is required. string - The name of the extended location.
- type
This property is required. string | ExtendedLocation Type - The type of the extended location.
- name
This property is required. str - The name of the extended location.
- type
This property is required. str | ExtendedLocation Type - The type of the extended location.
- name
This property is required. String - The name of the extended location.
- type
This property is required. String | "EdgeZone" | "Custom Location" - The type of the extended location.
AzureResourceManagerCommonTypesExtendedLocationResponse, AzureResourceManagerCommonTypesExtendedLocationResponseArgs
ExtendedLocationType, ExtendedLocationTypeArgs
- Edge
Zone - EdgeZoneAzure Edge Zones location type
- Custom
Location - CustomLocationAzure Custom Locations type
- Extended
Location Type Edge Zone - EdgeZoneAzure Edge Zones location type
- Extended
Location Type Custom Location - CustomLocationAzure Custom Locations type
- Edge
Zone - EdgeZoneAzure Edge Zones location type
- Custom
Location - CustomLocationAzure Custom Locations type
- Edge
Zone - EdgeZoneAzure Edge Zones location type
- Custom
Location - CustomLocationAzure Custom Locations type
- EDGE_ZONE
- EdgeZoneAzure Edge Zones location type
- CUSTOM_LOCATION
- CustomLocationAzure Custom Locations type
- "Edge
Zone" - EdgeZoneAzure Edge Zones location type
- "Custom
Location" - CustomLocationAzure Custom Locations type
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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:AzureKeyVaultSecretProviderClass akvspc-ssc-example /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecretSyncController/azureKeyVaultSecretProviderClasses/{azureKeyVaultSecretProviderClassName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0