Options
| Parameter | Type | Description |
|---|---|---|
permissions | Optional | Array of permissions. Defaults to ["git:read", "git:write"]. |
ttl | Optional | Token TTL in seconds. Defaults to 31536000 (1 year). |
Available Permissions
| Permission | Description |
|---|---|
git:read | Read access to Git repository |
git:write | Write access to Git repository |
repo:write | Create a repository |
Ephemeral Remote URL
UsegetEphemeralRemoteURL() (TypeScript) or get_ephemeral_remote_url() (Python) to generate URLs that point to the ephemeral namespace. This is useful for temporary branches that shouldn’t sync to upstream mirrors.
See the Ephemeral Branches guide for more details.
Response
Returns astring containing the HTTPS Git remote URL with embedded JWT authentication: