Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
62 lines (50 loc) · 2.69 KB
/
Copy path.env.example
File metadata and controls
62 lines (50 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# ----------------------------------------------------------------------------
# sourcerykit — example environment variables
# ----------------------------------------------------------------------------
# Copy to `.env` (or export in your shell) and fill in real values.
# `.env` is git- and docker-ignored; `.env.example` is the canonical list.
#
# Two-tier config:
# Global (OS config folder for applications): access_token, refresh_token, org_id (user-level)
# Local (.env): everything else (project-level)
#
# All vars below can be set via env vars or in .env.
# Env vars take precedence over .env values.
# ----------------------------------------------------------------------------
# ===== Global config (set via `sourcerykit init`, stored in OS app dir) =======
# OAuth access token (issued by `sourcerykit init`; auto-refreshed via the refresh token)
# Read by: get_settings() -> Settings.access_token
PROVABLY_ACCESS_TOKEN=
# OAuth refresh token (rotated on each refresh)
# Read by: get_settings() -> Settings.refresh_token
PROVABLY_REFRESH_TOKEN=
# Provably organisation UUID
# Read by: get_settings() -> Settings.org_id
SOURCERYKIT_ORG_ID=00000000-0000-0000-0000-000000000000
# ===== Local config (set via `sourcerykit init`, stored in project .env) ======
# Project name — used as the Provably collection name
# Read by: get_settings() -> Settings.project_name
# SOURCERYKIT_PROJECT_NAME=my-project
# Postgres DSN for intercept storage, trusted-endpoint registry, and the
# handoff preprocess/padding path. Hosted PostgreSQL only.
# Read by: get_settings() -> Settings.postgres_url
# SOURCERYKIT_POSTGRES_URL=postgresql://user:[email protected]:5432/provably
# ===== Bootstrap resource IDs (auto-generated by `sourcerykit init`) ==========
# These are resolved during the Provably handshake and cached here.
# Do NOT edit manually — re-run `sourcerykit init` to regenerate.
# SOURCERYKIT_MIDDLEWARE_ID=
# SOURCERYKIT_DATABASE_ID=
# SOURCERYKIT_SCHEMA_ID=
# SOURCERYKIT_TABLE_ID=
# SOURCERYKIT_COLLECTION_ID=
# SOURCERYKIT_INTEGRATION_KEY=
# ===== Optional (override defaults) ===========================================
# Token store path for the embedded-app flow. When set, rotated OAuth tokens are
# persisted to this .env file instead of the global config JSON, keeping an app's
# session isolated from the standalone SDK's global config.
# SOURCERYKIT_TOKEN_STORE=/path/to/app/sourcerykit.env
# SOURCERYKIT_PROVABLY_APP_URL=https://app.provably.ai
# Consent page the browser sign-in opens (e.g. a local web app in dev).
# SOURCERYKIT_CONSENT_URL=https://sourcerykit-app.provably.ai/consent
# SOURCERYKIT_PROVABLY_API_URL=https://api.provably.ai
# SOURCERYKIT_PROVABLY_MCP_URL=https://mcp.provably.ai