mirror of
https://github.com/minio/minio.git
synced 2024-12-25 14:45:54 -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,
|
AccountStatus: stsAccount.Status,
|
||||||
ImpliedPolicy: policy == nil,
|
ImpliedPolicy: policy == nil,
|
||||||
Policy: string(policyJSON),
|
Policy: string(policyJSON),
|
||||||
|
Expiration: &stsAccount.Expiration,
|
||||||
}
|
}
|
||||||
|
|
||||||
data, err := json.Marshal(infoResp)
|
data, err := json.Marshal(infoResp)
|
||||||
|
Loading…
Reference in New Issue
Block a user