From: Pritha Srivastava Date: Wed, 11 Jul 2018 06:29:23 +0000 (+0530) Subject: rgw: Code for GetSessionToken REST API. X-Git-Tag: v14.0.1~113^2~12 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=64656600acc0e69e86d666c9677b32ee156b89e1;p=ceph.git rgw: Code for GetSessionToken REST API. Signed-off-by: Pritha Srivastava --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index a9cea4ad46fb..0516b31c1699 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -1548,3 +1548,4 @@ OPTION(rgw_website_routing_rules_max_num, OPT_INT) // According to AWS S3, An we OPTION(rgw_sts_entry, OPT_STR) OPTION(rgw_sts_key, OPT_STR) OPTION(rgw_s3_auth_use_sts, OPT_BOOL) // should we try to use sts for s3? +OPTION(rgw_sts_max_session_duration, OPT_U64) // Max duration in seconds for which the session token is valid. diff --git a/src/common/options.cc b/src/common/options.cc index 66bb371180b6..39ebc1a932d8 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -6362,6 +6362,10 @@ std::vector