mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
add missing expiration information from 'sts info' (#16878)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user