From 2a55128b370357ac032787f1f19f0ba534545e21 Mon Sep 17 00:00:00 2001 From: adam6878 Date: Tue, 29 Apr 2025 20:45:19 +0000 Subject: [PATCH] Added tags example Signed-off-by: adam6878 --- .../components-reference/supported-bindings/s3.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/daprdocs/content/en/reference/components-reference/supported-bindings/s3.md b/daprdocs/content/en/reference/components-reference/supported-bindings/s3.md index d91818a1d8f..0f78f118bc5 100644 --- a/daprdocs/content/en/reference/components-reference/supported-bindings/s3.md +++ b/daprdocs/content/en/reference/components-reference/supported-bindings/s3.md @@ -170,15 +170,16 @@ To perform a create operation, invoke the AWS S3 binding with a `POST` method an "operation": "create", "data": "YOUR_CONTENT", "metadata": { - "storageClass": "STANDARD_IA" + "storageClass": "STANDARD_IA", + "tags": "project=sashimi,year=2024", } } ``` -For example you can provide a storage class while using the `create` operation with a Linux curl command +For example you can provide a storage class or tags while using the `create` operation with a Linux curl command ```bash -curl -d '{ "operation": "create", "data": "YOUR_BASE_64_CONTENT", "metadata": { "storageClass": "STANDARD_IA" } }' / +curl -d '{ "operation": "create", "data": "YOUR_BASE_64_CONTENT", "metadata": { "storageClass": "STANDARD_IA", "project=sashimi,year=2024" } }' / http://localhost:/v1.0/bindings/ ```