Cloud Secret Pull
Pull secrets from cloud to local .env.production 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
| Option |
Type |
Required |
Default |
Description |
--force |
boolean |
No |
false |
overwrite 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"
}
| 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 |