Skip to content

Commit

Permalink
fix s3test.conf file
Browse files Browse the repository at this point in the history
  • Loading branch information
kmlebedev committed Mar 26, 2024
1 parent 1683220 commit aa37320
Showing 1 changed file with 50 additions and 10 deletions.
60 changes: 50 additions & 10 deletions docker/compose/s3tests.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@
## this section is just used for host, port and bucket_prefix

# host set for rgw in vstart.sh
host = s3
host = 127.0.0.1

# port set for rgw in vstart.sh
port = 8000

## say "False" to disable TLS
is_secure = False
is_secure = false

## say "False" to disable SSL Verify
ssl_verify = false

[fixtures]
## all the buckets created will start with this prefix;
## {random} will be filled with random characters to pad
## the prefix to 30 characters long, and avoid collisions
bucket prefix = yournamehere-{random}-
bucket prefix = s3tests-{random}-

[s3 main]
# main display_name set in vstart.sh
Expand All @@ -30,14 +33,20 @@ email = tester@ceph.com
api_name = default

## main AWS access key
access_key = 0555b35654ad1656d804
access_key = some_access_key1

## main AWS secret key
secret_key = h7GhxuBLTrlhVUyxSPUKUV8r/2EI4ngqJxD7iBdBYLhwluN30JaT3Q==
secret_key = some_secret_key1

## replace with key id obtained when secret is created, or delete if KMS not tested
#kms_keyid = 01234567-89ab-cdef-0123-456789abcdef

## Storage classes
#storage_classes = "LUKEWARM, FROZEN"

## Lifecycle debug interval (default: 10)
#lc_debug_interval = 20

[s3 alt]
# alt display_name set in vstart.sh
display_name = john.doe
Expand All @@ -48,10 +57,41 @@ email = john.doe@example.com
user_id = 56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234

# alt AWS access key set in vstart.sh
access_key = NOPQRSTUVWXYZABCDEFG
access_key = some_access_key1

# alt AWS secret key set in vstart.sh
secret_key = nopqrstuvwxyzabcdefghijklmnabcdefghijklm
secret_key = some_secret_key1

#[s3 cloud]
## to run the testcases with "cloud_transition" attribute.
## Note: the waiting time may have to tweaked depending on
## the I/O latency to the cloud endpoint.

## host set for cloud endpoint
# host = localhost

## port set for cloud endpoint
# port = 8001

## say "False" to disable TLS
# is_secure = False

## cloud endpoint credentials
# access_key = 0555b35654ad1656d804
# secret_key = h7GhxuBLTrlhVUyxSPUKUV8r/2EI4ngqJxD7iBdBYLhwluN30JaT3Q==

## storage class configured as cloud tier on local rgw server
# cloud_storage_class = CLOUDTIER

## Below are optional -

## Above configured cloud storage class config options
# retain_head_object = false
# target_storage_class = Target_SC
# target_path = cloud-bucket

## another regular storage class to test multiple transition rules,
# storage_class = S1

[s3 tenant]
# tenant display_name set in vstart.sh
Expand All @@ -61,10 +101,10 @@ display_name = testx$tenanteduser
user_id = 9876543210abcdef0123456789abcdef0123456789abcdef0123456789abcdef

# tenant AWS secret key set in vstart.sh
access_key = HIJKLMNOPQRSTUVWXYZA
access_key = some_access_key1

# tenant AWS secret key set in vstart.sh
secret_key = opqrstuvwxyzabcdefghijklmnopqrstuvwxyzab
secret_key = some_secret_key1

# tenant email set in vstart.sh
email = tenanteduser@example.com
email = tenanteduser@example.com

0 comments on commit aa37320

Please sign in to comment.