Ceph Nano — How to make S3 API Calls from Postman
After Ceph Nano Docker Installation (you can see in the previous story), to make S3 api calls from Postman, you should fill Authorization tab as described below:
You should select Type = AWS Signature in Authorization tab. To access AccessKey and SecretKey info you can read my previous post. You should enter Service Name value as s3 in Advanced tab.

List Buckets:

List Objects in a Bucket (url/bucket_name):

See Contents of an Object (url/bucket_name/object_name):

Upload File from Local (url/bucket_name/object_name):


For information shared about testing in Postman, you can read https://medium.com/@christinavhastenrath/testing-file-uploads-to-aws-s3-with-iam-user-credentials-in-postman-5026fbde3ca6
Set Bucket LifeCycle Policy
http://raaviblog.com/how-to-generate-content-md5-value-base64-encoded-128-bit-md5-of-the-data/
Body:
<LifecycleConfiguration><Rule><ID>ArchiveExpirationRule</ID><Prefix></Prefix><Status>Enabled</Status><Expiration><Days>20</Days></Expiration></Rule></LifecycleConfiguration>
Response header returned with the object after setting lifecycle:
