forked from benarch/Azure-IPAM
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
42 lines (36 loc) · 2.16 KB
/
Copy path.env.example
File metadata and controls
42 lines (36 loc) · 2.16 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
# =============================================================================
# Azure IPAM - Docker Deployment Environment Variables
# =============================================================================
# Copy this file to .env and fill in your values
# =============================================================================
# -----------------------------------------------------------------------------
# Azure Service Principal (for API to query Azure resources)
# -----------------------------------------------------------------------------
# Create a service principal with Reader access:
# az ad sp create-for-rbac --name "azure-ipam-sp" --role Reader --scopes /subscriptions/<subscription-id>
# Or use the custom IPAM Reader role from ipam-reader-role.json
AZURE_TENANT_ID=your-azure-tenant-id
AZURE_CLIENT_ID=your-service-principal-client-id
AZURE_CLIENT_SECRET=your-service-principal-secret
# -----------------------------------------------------------------------------
# Optional: Filter Subscriptions
# -----------------------------------------------------------------------------
# Comma-separated list of subscription IDs to query
# Leave empty to query all accessible subscriptions
AZURE_SUBSCRIPTION_IDS=
# -----------------------------------------------------------------------------
# Frontend Authentication (Azure AD App Registration)
# -----------------------------------------------------------------------------
# Create an app registration for user authentication:
# 1. Go to Azure Portal > Azure Active Directory > App registrations
# 2. New registration > Single-page application
# 3. Add redirect URI: http://localhost:8080 (or your domain)
# 4. Copy the Application (client) ID
VITE_AZURE_TENANT_ID=your-azure-tenant-id
VITE_AZURE_CLIENT_ID=your-frontend-app-registration-client-id
# -----------------------------------------------------------------------------
# Optional: Azure Storage Connection
# -----------------------------------------------------------------------------
# For production, use an Azure Storage account connection string
# For local development with Azurite, leave as default
AZURE_STORAGE_CONNECTION=UseDevelopmentStorage=true