CreateRootKey
Creates a root key.
/api/admin/v1/keys
Path Parameters
This operation does not have path parameters.
Query Parameters
This operation does not have query parameters.
Request Body
- Schema
RootKeySpec
- Type
object
- Properties
expiresAt
optionalThe time when the root key should expire.
- Type
string
- Format
date-time
- Type
Responses
201 Response
The root key was created successfully.
- Schema
RootKey
- Type
object
- Properties
expiresAt
optionalThe time when the root key expires.
- Type
string
- Format
date-time
- Type
key
requiredThe root key.
- Type
string
- Type
createdAt
requiredThe time when the root key was created.
- Type
string
- Format
date-time
- Type
updatedAt
requiredThe time when the root key was last updated.
- Type
string
- Format
date-time
- Type
400 Response
The requested operation cannot be performed because the request is malformed.
- Schema
Error
- Type
object
- Properties
message
requiredAn error message.
- Type
string
- Type
401 Response
The requested operation cannot be performed because the request lacks valid authentication credentials.
- Schema
Error
- Type
object
- Properties
message
requiredAn error message.
- Type
string
- Type
403 Response
The identity is not allowed to perform the requested operation for the resource involved.
- Schema
Error
- Type
object
- Properties
message
requiredAn error message.
- Type
string
- Type
Default Response
The requested operation failed with an error.
- Schema
Error
- Type
object
- Properties
message
requiredAn error message.
- Type
string
- Type