mirror of
https://github.com/minio/minio
synced 2024-10-14 11:52:56 +00:00
add missing expiration information from 'sts info' (#16878)
This commit is contained in:
parent
1346561b9d
commit
ac7d9c449a
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue