mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05: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 New Issue
Block a user