Retrieves a list of API keys
GET/v1/apiKeys
Retrieves a list of API keys
Responses
- 200
Retrieves a list of API keys
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
items
object[]
required
List of API keys
metadata
object
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
annotations
object
Annotations are system generated key value metadata for the resource. As an input certain annotations like description can be set.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
labels
object
Labels are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Name of the resource.
UID is the unique identifier generated for the resource. This is not an input field for any request.
spec
object
API key specification
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Deprecated: API key field will be no longer available
user
object
API key user information
First name of user
Last name of user
User uid
status
object
API key status
API key active state
{
"items": [
{
"metadata": {
"annotations": {},
"creationTimestamp": "2024-04-16T17:48:59.951Z",
"deletionTimestamp": "2024-04-16T17:48:59.951Z",
"labels": {},
"lastModifiedTimestamp": "2024-04-16T17:48:59.951Z",
"name": "string",
"uid": "string"
},
"spec": {
"expiry": "2024-04-16T17:48:59.951Z",
"key": "string",
"user": {
"firstName": "string",
"lastName": "string",
"uid": "string"
}
},
"status": {
"isActive": true
}
}
]
}