Skip to main content
idapt
HomeCodeAI ModelsPricing
Sign inStart free
  • Home
  • Pricing
  • AI Models
  • Image models
  • Voice models
  • Video models
  • Rankings
  • New models
  • Model status
  • Multi-Model Chat
  • Voice Mode
  • Voice HUD
  • Web Search
  • Image Generation
  • Video Generation
  • Audio Generation
  • Transcription
  • Drive
  • Secrets
  • Sharing
  • Workspaces
  • Tasks
  • Memory
  • Agents
  • Subagents
  • Automations
  • Skills
  • idapt Code
  • Code Execution
  • Computers
  • Computer Use
  • Computer Assist ยท Soon
  • Cloud Computers
  • Local AI
  • AI Gateway
  • API & SDK
  • CLI
  • MCP
  • Tunnels
  • All features โ†’
  • LLM cost calculator
  • Token counter
  • Context window checker
  • Can I run it
  • Model picker quiz
  • Savings finder
  • Video cost estimator
  • Text to speech cost
  • Transcription cost
  • API endpoint tester
  • All free tools โ†’
  • Blog
  • Use cases
  • Comparisons
  • Best of
  • Learn
  • Prompts
  • Templates
  • Changelog
  • Help center
  • FAQ
  • Privacy
  • Compare all models
  • Support
  • idapt Code
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Downloads
  • Desktop
  • Badges and embeds
ยฉ idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)
Help Center
๐Ÿ”‘

Git credentials and Secrets for idapt Code

Found this helpful? Share it:

idapt Code delivers through ordinary git and provider command-line tools on the computer you selected. There is no GitHub or GitLab connection to configure in idapt. You have two ways to authenticate, and the first is usually already done.

Use the Git setup that is already there

If these already succeed for the operating-system user the agent runs as, nothing else is needed. Tell the agent to use the existing setup.

git fetch
gh auth status     # or: glab auth status

The agent leaves that configuration intact: it does not replace a remote, a credential helper, a signing key, or a provider profile unless you ask it to.

Not sure which user the commands run as? The skill states it when it confirms the environment, and the computer's Dashboard lists the allowed users.

Hand over one Secret instead

Use a workspace Secret when the token should not be stored on the computer, for example on a shared machine or a short-lived cloud computer.

  1. Open the workspace Secrets page and create a Secret holding the provider token.

  2. Name it for the job, such as github-push-token. Never paste the value into Chat.

  3. In the coding chat, name the Secret and the single command that needs it.

  4. Check the push or pull-request URL the agent reports when the command finishes.

idapt resolves the value on the server and injects it into that one command's environment. The agent receives the name, not the value, and output redaction removes matches from what comes back.

Give the token the narrowest provider scope and the shortest lifetime the task allows. Workspace roles and management live in Secrets.

Keep the injection narrow

Ask for injection into a one-shot command only. Do not ask the agent to write a token into a repository file, a remote URL, a shell profile, a command argument, a persistent terminal, a tmux session, or Git configuration. A persistent session does not receive Secret injection at all.

Redaction is not a sandbox. A command that receives a Secret can use it, log it, or send it somewhere. Repository hooks and dependency install scripts run with the same environment, so inject a credential only into a command and a project you trust.

What delivery looks like

With either method the agent can:

  • Inspect git status, branches, remotes, and diffs.
  • Create a branch and commit with normal Git commands.
  • Push through the configured remote.
  • Open a pull or merge request with an installed gh or glab.

When the provider CLI is missing, it pushes the branch and returns the URL for you to open the request yourself.

FAQs

Related articles

โŒจ๏ธ

Start coding with idapt Code

Point a normal idapt Chat at a paired or cloud computer and have it read the project, change code, run the tests, and report what it did.

๐Ÿ›ก๏ธ

Use idapt Code safely

Pick the right machine, grant the two capabilities coding needs instead of full control, and know what an agent command can still reach.

๐Ÿ”

Secrets

Store API keys and tokens once, then let your commands and functions use them without pasting them into a chat.

๐Ÿ’ป

Computer commands and files

Run commands through the daemon and browse remote files with the built-in file manager.

โŒจ๏ธ

Terminal and SSH

Open a shell on any of your computers from the browser or your own terminal, with no SSH keys to set up.

Up next

Use idapt Code safely

Pick the right machine, grant the two capabilities coding needs instead of full control, and know what an agent command can still reach.

Was this helpful?