Prepare s3 library for supporting security token via iam meta data