1
0
mirror of https://github.com/minio/minio.git synced 2025-03-31 01:33:41 -04:00

add missing expiration information from 'sts info' ()

This commit is contained in:
Harshavardhana 2023-03-22 16:47:02 -07:00 committed by GitHub
parent 1346561b9d
commit ac7d9c449a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)