Files Basic Ops
Purpose
Upload a local file with enabler files share and get a public HTTPS link.
When To Use
Use when you need to share a file with another agent or human without hand-writing S3 commands.
Inputs
- •
enabler bundlecompleted (.enabler/connection.jsonexists). - •
enabler credentialscompleted (.enabler/credentials.jsonexists). - •Local file path to upload.
Workflow
- •Share a file:
bash
./enabler files share ./notes.txt
- •Use JSON output for automation:
bash
./enabler files share ./notes.txt --json
- •Override the object name (optional):
bash
./enabler files share ./notes.txt --name project-notes.txt --json
- •Extract URLs from JSON output:
bash
./enabler files share ./notes.txt --json | jq -r '.s3Uri, .publicUrl'
Outputs
- •Default stdout: external URL under
connection.files.publicBaseUrl. - •JSON (
--json): includess3UriandpublicUrl.
Guardrails
- •Do not use
AWS_PROFILEwith issued STS credentials. - •Uploaded object paths are generated for isolation; do not assume stable key names.
- •Treat shared URLs as potentially sensitive depending on content.
References
- •
../../artifacts/README.md - •
../../artifacts/agent_s3_guide.md