Skip to content

Commit 33cc1db

Browse files
rainfdgreenie-msftMark Fussell
authored and
Antonio Robson de Paula
committed
add ForcePathStyle support for s3 binding (dapr#2054)
Signed-off-by: rainfd <[email protected]> Co-authored-by: greenie-msft <[email protected]> Co-authored-by: Mark Fussell <[email protected]> Signed-off-by: Antonio Robson de Paula <[email protected]>
1 parent eea015b commit 33cc1db

File tree

1 file changed

+5
-0
lines changed
  • daprdocs/content/en/reference/components-reference/supported-bindings

1 file changed

+5
-0
lines changed

daprdocs/content/en/reference/components-reference/supported-bindings/s3.md

+5
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ spec:
3737
value: <bool>
3838
- name: encodeBase64
3939
value: <bool>
40+
- name: forcePathStyle
41+
value: <bool>
4042
```
4143
4244
{{% alert title="Warning" color="warning" %}}
@@ -52,6 +54,7 @@ The above example uses secrets as plain strings. It is recommended to use a secr
5254
| accessKey | Y | Output | The AWS Access Key to access this resource | `"key"` |
5355
| secretKey | Y | Output | The AWS Secret Access Key to access this resource | `"secretAccessKey"` |
5456
| sessionToken | N | Output | The AWS session token to use | `"sessionToken"` |
57+
| forcePathStyle | N | Output | Currently Amazon S3 SDK supports virtual hosted-style and path-style access. `true` is path-style format like `https://<endpoint>/<your bucket>/<key>`. `false` is hosted-style format like `https://<your bucket>.<endpoint>/<key>`. Defaults to `false` | `true`, `false` |
5558
| decodeBase64 | N | Output | Configuration to decode base64 file content before saving to bucket storage. (In case of saving a file with binary content). `true` is the only allowed positive value. Other positive variations like `"True", "1"` are not acceptable. Defaults to `false` | `true`, `false` |
5659
| encodeBase64 | N | Output | Configuration to encode base64 file content before return the content. (In case of opening a file with binary content). `true` is the only allowed positive value. Other positive variations like `"True", "1"` are not acceptable. Defaults to `false` | `true`, `false` |
5760

@@ -144,6 +147,8 @@ spec:
144147
value: mysession
145148
- name: decodeBase64
146149
value: <bool>
150+
- name: forcePathStyle
151+
value: <bool>
147152
```
148153

149154
Then you can upload it as you would normally:

0 commit comments

Comments
 (0)