doc: Add usage and example about s3 storage class and crypto
[fio.git] / examples / http-s3-crypto.fio
CommitLineData
a2084df0
FH
1# Example test for the HTTP engine's S3 support against Amazon AWS.
2# Obviously, you have to adjust the S3 credentials; for this example,
3# they're passed in via the environment.
4# And you can set the SSE Customer Key and Algorithm to test Server
5# Side Encryption.
6#
7
8[global]
9ioengine=http
10name=test
11direct=1
12filename=/larsmb-fio-test/object
13http_verbose=0
14https=on
15http_mode=s3
16http_s3_key=${S3_KEY}
17http_s3_keyid=${S3_ID}
18http_host=s3.eu-central-1.amazonaws.com
19http_s3_region=eu-central-1
20http_s3_sse_customer_key=${SSE_KEY}
21http_s3_sse_customer_algorithm=AES256
22group_reporting
23
24# With verify, this both writes and reads the object
25[create]
26rw=write
27bs=4k
28size=64k
29io_size=4k
30verify=sha256
31
32[trim]
33stonewall
34rw=trim
35bs=4k
36size=64k
37io_size=4k
38