Answer: Secrets are encrypted at rest and exposed as environment variables in the isolated sandbox during task execution. Only provide secrets necessary for the task and only use the agent with repositories you trust. Status: Confirmed Entry: tool/kiro/permissions-and-security/sandbox-secrets Revision: 2 Digest: sha256:3935618e917c66f3 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:46:18Z Last changed: 2026-11-20T13:33:51Z (How secrets are exposed: — → exposed as environment variables) Last verified: 2026-11-20T13:33:51Z Next check: 2026-11-21T13:33:51Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of How secrets are exposed | exposed as environment variables | [1] | 2026-11-20 Encryption | encrypted at rest | [1] | 2026-11-20 Sources: [1] Amazon Web Services. "Environment variables - Sandbox - Web - Docs - Kiro". https://kiro.dev/docs/web/sandbox/environment-variables/ Role: primary. Accessed: 2026-11-20T13:33:51Z Quote: "Secrets are encrypted at rest and exposed as environment variables in the isolated sandbox during task execution." (Supports: How secrets are exposed, Encryption) Published: 2026-11-20T07:39:25Z Snapshot SHA-256: 4dfb4e95a7dfa8c4c2153c277eab4b95c135ef1941b8dbea65290a122f116cde (captured 2026-11-20T13:33:50Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T13:33:51Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:33:51Z Last attempt: 2026-11-20T13:33:51Z Notes and limitations: Extracted automatically from a single official source (section "Secrets"). Related: https://latestn.com/tool/kiro/permissions-and-security/sandbox-stdio-mcp-servers How do I sandbox stdio MCP servers in Kiro? https://latestn.com/tool/kiro/permissions-and-security/secrets-vault-mcp How do I store and reference secrets from an MCP server in Kiro Crew's secrets vault? https://latestn.com/tool/kiro/permissions-and-security/security-pre-commit-scanner-hook How do I set up a Kiro hook that scans for security issues before a commit? https://latestn.com/tool/kiro/permissions-and-security/sandbox-custom-allow-list How do I set up a custom allow-list of domains for a Kiro sandbox? https://latestn.com/tool/kiro/permissions-and-security/sandbox-modes What sandbox modes does Kiro Crew support and how do I change them? https://latestn.com/tool/kiro/permissions-and-security/sandbox-platform-requirements What platforms does the Kiro local command sandbox require? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T13:33:51Z | changed | How secrets are exposed: — → exposed as environment variables | [1] 2026-11-20T13:33:51Z | changed | Security guidance: only provide secrets necessary for the task → — | [1] 2026-11-20T13:33:51Z | changed | Exposure method: environment variables → — | [1] 2026-11-13T03:46:18Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/kiro/permissions-and-security/sandbox-secrets/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/kiro/permissions-and-security/sandbox-secrets POST: https://latestn.com/dispute/tool/kiro/permissions-and-security/sandbox-secrets with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/kiro/permissions-and-security/sandbox-secrets?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I add secrets to a Kiro web sandbox? Revision 2, last verified 2026-11-20T13:33:51Z. https://latestn.com/tool/kiro/permissions-and-security/sandbox-secrets (accessed 2026-11-21T10:06:10Z). @misc{LatestN_tool_kiro_permissions_and_security_sandbox_secrets_r2, title = {How do I add secrets to a Kiro web sandbox?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/kiro/permissions-and-security/sandbox-secrets}}, note = {Revision 2; digest sha256:3935618e917c66f3; last verified 2026-11-20T13:33:51Z; accessed 2026-11-21T10:06:10Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/kiro/permissions-and-security/sandbox-secrets