AI Studio Security, Repository Access and Audit Trail¶
Overview¶
AI Studio runs on your repository, so the security questions are concrete: who can read the code, where the credentials live, what the sandbox can reach and what evidence is left behind.
In this tutorial, you will learn:
- How the repository connection is verified
- Where credentials are stored
- What the sandbox can and cannot access
- How the audit trail works
- Which data terms to request
Repository pre-flight¶
Before a pod is created, the wizard verifies the repository:
- The provider, project and branch exist.
- The credential can read the project.
- The credential can push when the playbook needs to open a merge request.
- The host is
gitlab.comorgithub.com; a self-hosted instance needs an allow-list.
If the check fails, the pod is not created. If a repository connection later loses its secret, the pod is marked for the pod lead with repo.missing_secret instead of running in an empty workspace.
Credentials¶
| Credential | Where it lives | Who can use it |
|---|---|---|
| Repository token | Vault, referenced by the pod | The orchestrator, injected into the sandbox only when needed |
| Tool token (Jira, Confluence, Notion, database) | Vault, referenced by the connection | The orchestrator and the tool bridge |
| Custom tool authorization | A credential record with metadata and a last-four hint; the secret is in Vault | The runtime, through a service-only resolver |
| Model credential | Platform side | The platform, never the sandbox |
The browser can write a secret and never read it back. A template never stores a secret; the new pod copies it from the source connection.
The sandbox¶
Each pod runs in its own machine:
- It clones only the repositories assigned to the pod.
- It has no inbound port.
- It has no database credentials by default; a database migration uses a separate read-only connection verified by the database server.
- It talks to the platform through signed outbound calls.
- It receives the runtime image its stack needs, and the image is immutable once the sandbox exists.
The sandbox does not receive the platform’s service credentials. The model credential stays on the platform side.
What the pod can change¶
- It works on a branch and opens a merge request.
- It never pushes to a protected branch.
- It never merges on its own unless the workspace explicitly allows auto-merge.
- It never deploys to production.
- A read-only pod (audit or review) cannot edit, write or patch; the clone also loses its push credentials.
The audit trail¶
The pod timeline records:
- Tasks and their status.
- Checks and their output.
- Approvals and who decided.
- Messages between you, the pod and the pod lead.
- Deliverables and publications.
Export it as JSON for an internal review or an audit. The export redacts keys such as token, secret, password, API key, authorization and credential at any depth. It keeps up to 5,000 events and marks the result as truncated when it cuts.
Data terms¶
Model access is configured under the platform’s data-processing terms. Those terms describe retention, subprocessors and the purpose of the processing. Ask your account team for the current addendum before you sign; this page does not replace the contract.
Checklist¶
- The repository host is supported.
- The token can push, or the playbook does not need to push.
- The token is stored in the vault, not in the repository.
- The pod works on a branch and opens a merge request.
- A read-only pod really cannot edit.
- You know how to export the timeline.
- You have the current data-processing addendum.
What’s Next?¶
- Understand the quality gate and evidence
- Understand plans, tokens and the wallet
- Read model access and data protection
- Browse the AI Studio FAQ
Need Help?¶
- Documentation: docs.4geeks.io
- Discord: Discord
- Support: Available through the console dashboard
- Sales: Contact us
Still have questions? Ask on Discord or explore the tutorials.