Loading image...Kiro
  • CLI
  • Powers
  • Autonomous agent
  • Enterprise
  • Pricing
  • Docs
SIGN INDOWNLOADS
Loading image...Kiro
Loading image...Kiro
Product
  • About Kiro
  • CLI
  • Pricing
  • Downloads
For
  • Enterprise
  • Startups
Resources
  • Documentation
  • Blog
  • Changelog
  • FAQs
  • Report a bug
  • Suggest an idea
  • Billing support
Social
Site TermsLicenseResponsible AI PolicyLegalPrivacy PolicyCookie Preferences
  1. Docs
  2. Autonomous agent
  3. Sandbox
  4. Environment Variables

Environment Variables

On this page
  • Environment Variables
  • Secrets
  • Duplicate Keys

Configure environment variables and secrets for autonomous agent execution.

Environment Variables

Set environment variables that will be available to the agent during task execution. These are useful for configuration values that aren't sensitive.

Secrets

Securely manage sensitive credentials and API keys in the sandbox. Secrets are encrypted at rest and exposed as environment variables in the isolated sandbox during task execution. The agent may exfiltrate these secrets through code changes, logs, or external requests, so only provide secrets necessary for the task and only use the agent with repositories you trust.

Duplicate Keys

If the same key exists in both environment variables and secrets, the environment variable value takes precedence.

Page updated: November 25, 2025
Internet Access
MCP