Azure Messaging Namespace Customer Managed Key
This page shows how to write Terraform and Azure Resource Manager for Messaging Namespace Customer Managed Key and write them securely.
azurerm_eventhub_namespace_customer_managed_key (Terraform)
The Namespace Customer Managed Key in Messaging can be configured in Terraform with the resource name azurerm_eventhub_namespace_customer_managed_key. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
The following arguments are supported:
eventhub_namespace_id- (Required) The ID of the EventHub Namespace. Changing this forces a new resource to be created.key_vault_key_ids- (Required) The list of keys of Key Vault.
In addition to the Arguments listed above - the following Attributes are exported:
id- The ID of the EventHub Namespace.
Explanation in Terraform Registry
Manages a Customer Managed Key for a EventHub Namespace.
Microsoft.EventHub/namespaces (Azure Resource Manager)
The namespaces in Microsoft.EventHub can be configured in Azure Resource Manager with the resource name Microsoft.EventHub/namespaces. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
{
"properties": {
"displayName": "Apply diagnostic settings for Event Grid Topics - EventHub",
"policyType": "Custom",
"mode": "All",
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"sqlServerUsername": {
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"sqlServerUsername": {
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"sqlServerUsername": {
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"suiteName": {
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"region": {
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"region": {
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"suiteName": {
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"suiteName": {
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"region": {
Parameters
apiVersionrequired - stringidentityoptionaltypeoptional - stringType of managed service identity.
userAssignedIdentitiesoptional - undefinedProperties for User Assigned Identities
locationoptional - stringResource location.
namerequired - stringThe Namespace name
propertiesrequiredalternateNameoptional - stringAlternate name specified when alias and namespace names are same.
clusterArmIdoptional - stringCluster ARM ID of the Namespace.
disableLocalAuthoptional - booleanThis property disables SAS authentication for the Event Hubs namespace.
encryptionoptionalkeySourceoptional - stringEnumerates the possible value of keySource for Encryption.
keyVaultPropertiesoptional arrayidentityoptionaluserAssignedIdentityoptional - stringARM ID of user Identity selected for encryption
keyNameoptional - stringName of the Key from KeyVault
keyVaultUrioptional - stringUri of KeyVault
keyVersionoptional - stringKey Version
requireInfrastructureEncryptionoptional - booleanEnable Infrastructure Encryption (Double Encryption)
isAutoInflateEnabledoptional - booleanValue that indicates whether AutoInflate is enabled for eventhub namespace.
kafkaEnabledoptional - booleanValue that indicates whether Kafka is enabled for eventhub namespace.
maximumThroughputUnitsoptional - integerUpper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( '0' if AutoInflateEnabled = true)
privateEndpointConnectionsoptional arraypropertiesoptionalprivateEndpointoptionalidoptional - stringThe ARM identifier for Private Endpoint.
privateLinkServiceConnectionStateoptionaldescriptionoptional - stringDescription of the connection state.
statusoptional - stringStatus of the connection.
provisioningStateoptional - stringProvisioning state of the Private Endpoint Connection.
zoneRedundantoptional - booleanEnabling this property creates a Standard Event Hubs Namespace in regions supported availability zones.
skuoptionalcapacityoptional - integerThe Event Hubs throughput units for Basic or Standard tiers, where value should be 0 to 20 throughput units. The Event Hubs premium units for Premium tier, where value should be 0 to 10 premium units.
namerequired - stringName of this SKU.
tieroptional - stringThe billing tier of this particular SKU.
tagsoptional - stringResource tags.
typerequired - string