-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
56 lines (50 loc) · 3.51 KB
/
Copy path.env.example
File metadata and controls
56 lines (50 loc) · 3.51 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
# ─────────────────────────────────────────────────────────────────────────────
# scribe-iq-lakehouse — environment variable template
# ─────────────────────────────────────────────────────────────────────────────
# Copy to .env and fill in real values. .env is gitignored; this file is not.
#
# cp .env.example .env
# # edit .env with your IDs and the Service Principal secret
# set -a; source .env; set +a # export all FABRIC_* into the shell
#
# Who reads these:
# - fabric/deploy/upload_wheel.py → all 5 SP+workspace+env vars (REST API)
# - fabric/environments/lakehouse_env.yml → ${FABRIC_*} substitution in CI
# - fabric/deploy/fabric_cicd_config.yml → ${FABRIC_*} substitution in CI
# - .github/workflows/fabric-deploy.yml → maps GitHub secrets → env vars
# - fabric/notebooks/* → notebooks pull workspace/lakehouse
# IDs from notebookutils, not env vars
# (env vars are CI-side only)
#
# CI mirror: the same variable names live in the GitHub `fabric-prod`
# Environment as secrets. Adding a new var here? Add it there too.
# See fabric/docs/DEPLOYMENT.md.
#
# ─────────────────────────────────────────────────────────────────────────────
# ── Workspace identifiers ──────────────────────────────────────────────────
# NOT secrets — visible to anyone with workspace access via the Fabric URL.
# Kept in env vars (vs hardcoded in committed YAML) so forks can point at
# their own workspaces without diffs.
#
# How to capture each value (open the resource in Fabric, look at the URL):
# Workspace ID → https://app.fabric.microsoft.com/groups/<THIS_GUID>/...
# Lakehouse ID → https://app.fabric.microsoft.com/groups/.../lakehouses/<THIS_GUID>
# Environment ID → https://app.fabric.microsoft.com/groups/.../sparkenvironments/<THIS_GUID>
FABRIC_WORKSPACE_ID=00000000-0000-0000-0000-000000000000
FABRIC_LAKEHOUSE_ID=00000000-0000-0000-0000-000000000000
FABRIC_ENVIRONMENT_ID=00000000-0000-0000-0000-000000000000
# ── Service Principal credentials ──────────────────────────────────────────
# SECRETS — never commit, never log, never paste into chat / screenshots.
# Required only by fabric/deploy/upload_wheel.py (REST automation). Path A
# manual wheel upload via the Fabric UI does not need any of these.
#
# How to capture each value:
# Tenant ID → Azure Portal → Entra ID → Overview → Tenant ID
# Client ID → Entra ID → App registrations → <your-app> → Application (client) ID
# Client secret → <your-app> → Certificates & secrets → "Value" column
# (only shown ONCE at creation — copy immediately)
#
# Grant the Service Principal "Contributor" on the Fabric workspace.
FABRIC_TENANT_ID=00000000-0000-0000-0000-000000000000
FABRIC_CLIENT_ID=00000000-0000-0000-0000-000000000000
FABRIC_CLIENT_SECRET=