From ac7d9c449ae7a510b174c659771630b14a08ee01 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Wed, 22 Mar 2023 16:47:02 -0700 Subject: [PATCH] add missing expiration information from 'sts info' (#16878) --- cmd/admin-handlers-users.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/admin-handlers-users.go b/cmd/admin-handlers-users.go index 7cd420ca7..391c3887c 100644 --- a/cmd/admin-handlers-users.go +++ b/cmd/admin-handlers-users.go @@ -582,6 +582,7 @@ func (a adminAPIHandlers) TemporaryAccountInfo(w http.ResponseWriter, r *http.Re AccountStatus: stsAccount.Status, ImpliedPolicy: policy == nil, Policy: string(policyJSON), + Expiration: &stsAccount.Expiration, } data, err := json.Marshal(infoResp)