xref: /aosp_15_r20/external/curl/docs/cmdline-opts/aws-sigv4.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerLong: aws-sigv4
5*6236dae4SAndroid Build Coastguard WorkerProtocols: HTTP
6*6236dae4SAndroid Build Coastguard WorkerArg: <provider1[:prvdr2[:reg[:srv]]]>
7*6236dae4SAndroid Build Coastguard WorkerHelp: AWS V4 signature auth
8*6236dae4SAndroid Build Coastguard WorkerCategory: auth http
9*6236dae4SAndroid Build Coastguard WorkerAdded: 7.75.0
10*6236dae4SAndroid Build Coastguard WorkerMulti: single
11*6236dae4SAndroid Build Coastguard WorkerSee-also:
12*6236dae4SAndroid Build Coastguard Worker  - basic
13*6236dae4SAndroid Build Coastguard Worker  - user
14*6236dae4SAndroid Build Coastguard WorkerExample:
15*6236dae4SAndroid Build Coastguard Worker  - --aws-sigv4 "aws:amz:us-east-2:es" --user "key:secret" $URL
16*6236dae4SAndroid Build Coastguard Worker---
17*6236dae4SAndroid Build Coastguard Worker
18*6236dae4SAndroid Build Coastguard Worker# `--aws-sigv4`
19*6236dae4SAndroid Build Coastguard Worker
20*6236dae4SAndroid Build Coastguard WorkerUse AWS V4 signature authentication in the transfer.
21*6236dae4SAndroid Build Coastguard Worker
22*6236dae4SAndroid Build Coastguard WorkerThe provider argument is a string that is used by the algorithm when creating
23*6236dae4SAndroid Build Coastguard Workeroutgoing authentication headers.
24*6236dae4SAndroid Build Coastguard Worker
25*6236dae4SAndroid Build Coastguard WorkerThe region argument is a string that points to a geographic area of
26*6236dae4SAndroid Build Coastguard Workera resources collection (region-code) when the region name is omitted from
27*6236dae4SAndroid Build Coastguard Workerthe endpoint.
28*6236dae4SAndroid Build Coastguard Worker
29*6236dae4SAndroid Build Coastguard WorkerThe service argument is a string that points to a function provided by a cloud
30*6236dae4SAndroid Build Coastguard Worker(service-code) when the service name is omitted from the endpoint.
31