Agentuity CLI Cloud Secret Import

Import secrets from a file to cloud and local .env. Requires authentication. Use for Agentuity cloud platform operations

agentuity Updated

File contents

Cloud Secret Import

Import secrets from a file to cloud and local .env

Prerequisites

  • Authenticated with agentuity auth login
  • Project context required (run from project directory or use --project-id)

Usage

agentuity cloud secret import <file>

Arguments

Argument Type Required Description
<file> string Yes -

Examples

Run .env.local command:

bunx @agentuity/cli secret import .env.local

Run .env.backup command:

bunx @agentuity/cli secret import .env.backup

Output

Returns JSON object:

{
  "success": "boolean",
  "imported": "number",
  "skipped": "number",
  "path": "string",
  "file": "string"
}
Field Type Description
success boolean Whether import succeeded
imported number Number of items imported
skipped number Number of items skipped
path string Local file path where secrets were saved
file string Source file path

agentuity/discord-help-agent/tree/main/.agents/skills/agentuity-cli-cloud-secret-import commit 0197125994

Frequently asked questions

npx skillmds@latest add agentuity/agentuity-cli-cloud-secret-import