Authentication Types
The Type for the Authentication parameter can be one of the following.
Value | Description |
---|---|
AzureLogin |
Uses AzureCliCredentials, requiring the az login command to be run on the host machine. AzureLogin requires the Azure Event Hub Data Owner or Azure Event Hubs Data Sender role to be assigned to the Namespace for the user account running az login. |
AzureClientSecret | Uses AzureClientSecretCredentials. |
AzureEnvironment | Uses AzureEnvironmentCredentials, which relies on AZURE_xxx environment variables. |
AzureManagedIdentity |
Uses AzureManagedIdentityCredentials. |
ConnectionString | Alternative combination of Endpoint and credentials, which is often used in a development scenario. This type is not available for Schema Registry. |
SharedAccessKey | For Azure access, uses the key from a Shared Access Policy. |
ApiKey | Useful for Confluent development purposes (for Schema Registry only). |
ConfluentOAuth2 | Specify this authentication type to use OAuth2 with a Confluent Cloud environment. |
For details, see "Type‑Specific Parameters", in the following section.