agentuity avatar

agentuity-cli-cloud-secret-pull

Pull secrets from cloud to local .env file. Requires authentication. Use for Agentuity cloud platfor

作者 agentuity|オープンソース

Cloud Secret Pull

Pull secrets from cloud to local .env file

Prerequisites

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

Usage

agentuity cloud secret pull [options]

Options

OptionTypeRequiredDefaultDescription
--forcebooleanNofalseoverwrite local values with cloud values

Examples

Run pull command:

bunx @agentuity/cli secret pull

Use force option:

bunx @agentuity/cli secret pull --force

Output

Returns JSON object:

{
  "success": "boolean",
  "pulled": "number",
  "path": "string",
  "force": "boolean"
}
FieldTypeDescription
successbooleanWhether pull succeeded
pullednumberNumber of items pulled
pathstringLocal file path where secrets were saved
forcebooleanWhether force mode was used