add creation date and expiration date to access keys

This commit is contained in:
Alex Auvolat
2025-04-17 11:09:21 +02:00
parent 2f21181ccb
commit c56b7e20c3
10 changed files with 225 additions and 33 deletions
+38 -2
View File
@@ -2569,8 +2569,9 @@
"GetKeyInfoResponse": {
"type": "object",
"required": [
"name",
"accessKeyId",
"name",
"expired",
"permissions",
"buckets"
],
@@ -2584,6 +2585,23 @@
"$ref": "#/components/schemas/KeyInfoBucketResponse"
}
},
"created": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"expiration": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"expired": {
"type": "boolean"
},
"name": {
"type": "string"
},
@@ -2915,9 +2933,27 @@
"type": "object",
"required": [
"id",
"name"
"name",
"expired"
],
"properties": {
"created": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"expiration": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"expired": {
"type": "boolean"
},
"id": {
"type": "string"
},