Skip to main content
Returns a JWT-authenticated remote URL targeting the +import push namespace. Pushing to this URL triggers immediate cold-storage archival after pack distribution—useful for bulk ingestion where you don’t need the repository to stay on hot disk.

Options

string[]
Array of permissions. Defaults to ["git:read", "git:write"].
number
Token TTL in seconds. Defaults to 1 year.
object[]
Ordered per-ref policy rules ({ pattern, ops? }). First match wins. Patterns without a refs/ prefix are normalized as branch names. The Python SDK names this option ref_policies. The Go SDK names it RefPolicies with type storage.RefPolicyList. See getRemoteURL() for available operations and the Branch Protection guide for usage.

Response

Returns a string containing the HTTPS Git remote URL with embedded JWT authentication:

Usage

Use the URL as a standard Git remote. Pushing to it enqueues cold-storage archival immediately after the pack distributes to all nodes:
See the Imports guide for bulk ingestion workflows and cold-storage behavior.