You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(azure_blob): add managed identity and workload identity auth
Document new auth_type values (managed_identity, workload_identity) and
related configuration parameters (client_id, tenant_id,
workload_identity_token_file) with configuration examples.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|`auth_type`| Specify the type to authenticate against the service. Supported values: `key`, `sas`. |`key`|
22
+
|`auth_type`| Specify the type to authenticate against the service. Supported values: `key`, `sas`, `managed_identity`, `workload_identity`.|`key`|
23
23
|`shared_key`| Specify the Azure Storage Shared Key to authenticate against the service. This configuration property is mandatory when `auth_type` is `key`. |_none_|
24
24
|`sas_token`| Specify the Azure Storage shared access signatures to authenticate against the service. This configuration property is mandatory when `auth_type` is `sas`. |_none_|
25
+
|`client_id`| Azure client ID for managed identity or workload identity authentication. For system-assigned managed identity, set to `system`. Required when `auth_type` is `managed_identity` or `workload_identity`. |_none_|
26
+
|`tenant_id`| Azure tenant ID. Required when `auth_type` is `workload_identity`. |_none_|
27
+
|`workload_identity_token_file`| Path to the projected service account token file for workload identity authentication. Only used when `auth_type` is `workload_identity`. |`/var/run/secrets/azure/tokens/azure-identity-token`|
25
28
|`container_name`| Name of the container that will contain the blobs. |_none_|
|`auto_create_container`| If `container_name` doesn't exist in the remote service, enabling this option handles the exception and auto-creates the container. |`on`|
@@ -111,6 +114,186 @@ After you run the configuration file, you will be able to query the data using t
Azure Managed Identity lets your application authenticate to Azure Blob Storage without managing credentials. This works on Azure VMs, Azure Container Instances, Azure App Service, and other Azure compute services with managed identity support.
tag var.log.containers.app-default-96cbdef2340.log
220
+
221
+
[OUTPUT]
222
+
name azure_blob
223
+
match *
224
+
account_name YOUR_ACCOUNT_NAME
225
+
auth_type managed_identity
226
+
client_id YOUR_MANAGED_IDENTITY_CLIENT_ID
227
+
container_name logs
228
+
auto_create_container on
229
+
tls on
230
+
```
231
+
232
+
{% endtab %}
233
+
{% endtabs %}
234
+
235
+
### Configuration for Workload Identity
236
+
237
+
Azure Workload Identity lets pods in Azure Kubernetes Service (AKS) authenticate to Azure Blob Storage using a Kubernetes service account federated with Azure AD.
tag var.log.containers.app-default-96cbdef2340.log
279
+
280
+
[OUTPUT]
281
+
name azure_blob
282
+
match *
283
+
account_name YOUR_ACCOUNT_NAME
284
+
auth_type workload_identity
285
+
client_id YOUR_CLIENT_ID
286
+
tenant_id YOUR_TENANT_ID
287
+
container_name logs
288
+
auto_create_container on
289
+
tls on
290
+
```
291
+
292
+
{% endtab %}
293
+
{% endtabs %}
294
+
295
+
The `workload_identity_token_file` option can be set to override the default token file path if your AKS cluster mounts the projected service account token at a non-standard location.
0 commit comments