summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_auth_s3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rgw/rgw_auth_s3.cc')
-rw-r--r--src/rgw/rgw_auth_s3.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rgw/rgw_auth_s3.cc b/src/rgw/rgw_auth_s3.cc
index 3727c0c7ba3..62dd7e68d36 100644
--- a/src/rgw/rgw_auth_s3.cc
+++ b/src/rgw/rgw_auth_s3.cc
@@ -167,6 +167,9 @@ static inline void get_v2_qs_map(const req_info& info,
if (k.find("x-amz-meta-") == /* offset */ 0) {
rgw_add_amz_meta_header(qs_map, k, elt.second);
}
+ if (k == "x-amz-security-token") {
+ qs_map[k] = elt.second;
+ }
}
}