Some checks failed
CI - SharePoint Plugin with SonarQube / Test and SonarQube Analysis (push) Has been cancelled
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
# SharePoint Connector Configuration
|
|
|
|
# Azure App Registration (REQUIRED)
|
|
SHAREPOINT_CLIENT_ID=your-client-id-here
|
|
SHAREPOINT_CLIENT_SECRET=your-client-secret-here
|
|
SHAREPOINT_TENANT_ID=common
|
|
|
|
# OAuth Callback (REQUIRED - must match Azure app registration)
|
|
# Local development:
|
|
REDIRECT_URI=http://localhost:5000/sharepoint/callback
|
|
# Production:
|
|
# REDIRECT_URI=https://yourdomain.com/sharepoint/callback
|
|
|
|
# Security (REQUIRED)
|
|
# Generate with: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
|
|
ENCRYPTION_KEY=your-generated-encryption-key-here
|
|
|
|
# Flask Security (OPTIONAL - auto-generated if not set)
|
|
# Generate with: python -c "import secrets; print(secrets.token_urlsafe(32))"
|
|
FLASK_SECRET_KEY=your-generated-flask-secret-here
|
|
|
|
# AWS Configuration (REQUIRED for DynamoDB)
|
|
AWS_REGION=us-east-1
|
|
# AWS_ACCESS_KEY_ID=your-key-id # Optional if using IAM role
|
|
# AWS_SECRET_ACCESS_KEY=your-secret-key # Optional if using IAM role
|
|
|
|
# DynamoDB Settings (OPTIONAL)
|
|
TABLE_PREFIX= # Optional: prefix table names (e.g., "dev_" or "prod_")
|
|
# DYNAMODB_ENDPOINT=http://localhost:8000 # Uncomment for local DynamoDB
|
|
|
|
# Flask Settings (OPTIONAL)
|
|
FLASK_DEBUG=false # Set to "true" for development
|
|
PORT=5000
|