agentuity-cli-cloud-apikey-create

Create a new API key. Requires authentication. Use for Agentuity cloud platform operations

allowed_tools: Bash(agentuity:*)

$ Instalar

git clone https://github.com/agentuity/discord-help-agent /tmp/discord-help-agent && cp -r /tmp/discord-help-agent/.agents/skills/agentuity-cli-cloud-apikey-create ~/.claude/skills/discord-help-agent

// tip: Run this command in your terminal to install the skill


name: agentuity-cli-cloud-apikey-create description: Create a new API key. Requires authentication. Use for Agentuity cloud platform operations version: "0.0.110" license: Apache-2.0 allowed-tools: "Bash(agentuity:*)" metadata: command: "agentuity cloud apikey create" tags: "destructive creates-resource slow requires-auth"

Cloud Apikey Create

Create a new API key

Prerequisites

  • Authenticated with agentuity auth login
  • Organization context required (--org-id or default org)

Usage

agentuity cloud apikey create [options]

Options

OptionTypeRequiredDefaultDescription
--namestringYes-the name for the API key
--expires-atstringYes-expiration date as ISO 8601 (2025-12-31T23:59:59Z) or duration (1h, 2d, 30d, 1y)
--confirmbooleanYes-Skip confirmation prompts (required for non-TTY)

Examples

Create API key with 1 year expiration:

bunx @agentuity/cli cloud apikey create --name "My API Key" --expires-at 1y

Create API key with 30 day expiration:

bunx @agentuity/cli cloud apikey create --name "Short-lived Key" --expires-at 30d

Create API key with specific date and skip confirmation:

bunx @agentuity/cli cloud apikey create --name "Production Key" --expires-at 2026-01-01T00:00:00Z --confirm

Output

Returns JSON object:

{
  "id": "string",
  "value": "string"
}
FieldTypeDescription
idstringthe API key id
valuestringthe API key value

Repository

agentuity
agentuity
Author
agentuity/discord-help-agent/.agents/skills/agentuity-cli-cloud-apikey-create
1
Stars
0
Forks
Updated1d ago
Added1w ago