Skip to content
Back to skills

979 Skill 7b5cd69a

ASecurity

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

  • 11 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
toolsbashapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add tools-only/X-Skills --skill 979-skill_7b5cd69a --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 979 Skill 7b5cd69a?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 979 Skill 7b5cd69a
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-979-skill-7b5cd69a/badge)](https://www.skillsdirectory.com/skills/tools-only-979-skill-7b5cd69a)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: agentuity-cli-cloud-apikey-create
description: Create a new API key. Requires authentication. Use for Agentuity cloud platform operations
version: "0.1.2"
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

```bash
agentuity cloud apikey create [options]
```

## Options

| Option | Type | Required | Default | Description |
|--------|------|----------|---------|-------------|
| `--name` | string | Yes | - | the name for the API key |
| `--expires-at` | string | Yes | - | expiration date as ISO 8601 (2025-12-31T23:59:59Z) or duration (1h, 2d, 30d, 1y) |
| `--confirm` | boolean | Yes | - | Skip confirmation prompts (required for non-TTY) |

## Examples

Create API key with 1 year expiration:

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

Create API key with 30 day expiration:

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

Create API key with specific date and skip confirmation:

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

## Output

Returns JSON object:

```json
{
  "id": "string",
  "value": "string"
}
```

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | the API key id |
| `value` | string | the API key value |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.