Pull secrets from cloud to local .env file. Requires authentication. Use for Agentuity cloud platform operations
Pull secrets from cloud to local .env file
agentuity auth login--project-id)agentuity cloud secret pull [options]
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--force | boolean | No | false | overwrite local values with cloud values |
Run pull command:
bunx @agentuity/cli secret pull
Use force option:
bunx @agentuity/cli secret pull --force
Returns JSON object:
{
"success": "boolean",
"pulled": "number",
"path": "string",
"force": "boolean"
}
| Field | Type | Description |
|---|---|---|
success | boolean | Whether pull succeeded |
pulled | number | Number of items pulled |
path | string | Local file path where secrets were saved |
force | boolean | Whether force mode was used |