rpk ai api-key create
Create an API key.
| This command was introduced in ai version 0.2.94. |
Examples
This section provides examples of how to use rpk ai api-key create.
rpk ai api-key create \
--display-name DISPLAY_NAME
Flags
| Value | Type | Description |
|---|---|---|
|
string |
Display name. ( |
|
string |
Description. |
|
string |
Expires at. (RFC 3339, for example, 2026-01-02T15:04:05Z). |
|
string |
manifest to create from (YAML or JSON; "-" for stdin); flags override file values. |
|
bool |
print the request that would be sent (with the computed update mask) and exit without calling the server. |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |