|
25 | 25 | - **tmp_path**: temporary file directory. If null, it is associated with the default FileSystem. (string, default: null)
|
26 | 26 | - **tmp_path_prefix**: prefix of temporary files (string, default: 'embulk-output-s3-')
|
27 | 27 | - **canned_acl**: canned access control list for created objects ([enum](#cannedaccesscontrollist), default: null)
|
28 |
| -- **proxy_host**: proxy host to use when accessing AWS S3 via proxy. (string, default: null ) |
29 |
| -- **proxy_port**: proxy port to use when accessing AWS S3 via proxy. (string, default: null ) |
| 28 | +- [Deprecated] **proxy_host**: proxy host to use when accessing AWS S3 via proxy. (string, default: null ) |
| 29 | +- [Deprecated] **proxy_port**: proxy port to use when accessing AWS S3 via proxy. (string, default: null ) |
| 30 | +- **http_proxy** http proxy configuration to use when accessing AWS S3 via http proxy. (optional) |
| 31 | + - **host** proxy host (string, required) |
| 32 | + - **port** proxy port (int, optional) |
| 33 | + - **https** use https or not (boolean, default true) |
| 34 | + - **user** proxy user (string, optional) |
| 35 | + - **password** proxy password (string, optional) |
| 36 | + |
| 37 | +- **auth_method**: name of mechanism to authenticate requests (basic, env, instance, profile, properties, anonymous, or session. default: basic) |
| 38 | + |
| 39 | + - "basic": uses access_key_id and secret_access_key to authenticate. |
| 40 | + |
| 41 | + - **access_key_id**: AWS access key ID (string, required) |
| 42 | + |
| 43 | + - **secret_access_key**: AWS secret access key (string, required) |
| 44 | + |
| 45 | + - "env": uses AWS_ACCESS_KEY_ID (or AWS_ACCESS_KEY) and AWS_SECRET_KEY (or AWS_SECRET_ACCESS_KEY) environment variables. |
| 46 | + |
| 47 | + - "instance": uses EC2 instance profile. |
| 48 | + |
| 49 | + - "profile": uses credentials written in a file. Format of the file is as following, where `[...]` is a name of profile. |
| 50 | + |
| 51 | + - **profile_file**: path to a profiles file. (string, default: given by AWS_CREDENTIAL_PROFILES_FILE environment varialbe, or ~/.aws/credentials). |
| 52 | + |
| 53 | + - **profile_name**: name of a profile. (string, default: `"default"`) |
| 54 | + |
| 55 | + ``` |
| 56 | + [default] |
| 57 | + aws_access_key_id=YOUR_ACCESS_KEY_ID |
| 58 | + aws_secret_access_key=YOUR_SECRET_ACCESS_KEY |
| 59 | + |
| 60 | + [profile2] |
| 61 | + ... |
| 62 | + ``` |
| 63 | +
|
| 64 | + - "properties": uses aws.accessKeyId and aws.secretKey Java system properties. |
| 65 | +
|
| 66 | + - "anonymous": uses anonymous access. This auth method can access only public files. |
| 67 | +
|
| 68 | + - "session": uses temporary-generated access_key_id, secret_access_key and session_token. |
| 69 | +
|
| 70 | + - **access_key_id**: AWS access key ID (string, required) |
| 71 | +
|
| 72 | + - **secret_access_key**: AWS secret access key (string, required) |
| 73 | +
|
| 74 | + - **session_token**: session token (string, required) |
| 75 | +
|
| 76 | + - "default": uses AWS SDK's default strategy to look up available credentials from runtime environment. This method behaves like the combination of the following methods. |
| 77 | +
|
| 78 | + 1. "env" |
| 79 | + 1. "properties" |
| 80 | + 1. "profile" |
| 81 | + 1. "instance" |
| 82 | +
|
| 83 | +
|
30 | 84 |
|
31 | 85 | ### CannedAccessControlList
|
32 | 86 | you can choose one of the below list.
|
|
0 commit comments