-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
63 lines (52 loc) · 2.85 KB
/
.env.example
File metadata and controls
63 lines (52 loc) · 2.85 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
63
# GitHub App Auth Container - Test Environment Variables
# Copy this file to .env and fill in your test credentials
# NEVER commit .env to version control
# =============================================================================
# GitHub App Credentials (for integration testing)
# =============================================================================
# Create a GitHub App for testing: https://github.com/settings/apps/new
# Required permissions: contents:read (minimum for testing)
# The GitHub App ID (found on the app settings page)
TEST_GITHUB_APP_ID=123456
# The Installation ID (found after installing the app on a repo/org)
# Install URL: https://github.com/settings/apps/<app-name>/installations
TEST_GITHUB_INSTALLATION_ID=12345678
# The private key (base64 encoded to handle newlines in env vars)
# Generate: base64 -i your-app.private-key.pem | tr -d '\n'
TEST_GITHUB_PRIVATE_KEY_B64=LS0tLS1CRUdJTi...base64...
# =============================================================================
# Test Agent Identity
# =============================================================================
# Agent name used for authentication (must match the item name in your secrets backend)
TEST_AGENT_NAME=test-agent
# Agent email for commit attribution
TEST_AGENT_EMAIL=test-agent@example.com
# =============================================================================
# Vaultwarden Admin Token (for test vault management)
# =============================================================================
# Generate with: openssl rand -base64 32
VAULTWARDEN_ADMIN_TOKEN=your-random-admin-token-here
# =============================================================================
# Test Vault Credentials
# =============================================================================
# These are used to create a test user in Vaultwarden
TEST_VAULT_EMAIL=test@localhost
TEST_VAULT_PASSWORD=test-password-for-local-vault
# =============================================================================
# Secrets Backend Selection (for production/runtime)
# =============================================================================
# Choose secrets backend: "bitwarden" (default) or "vault"
# SECRETS_BACKEND=bitwarden
# =============================================================================
# HashiCorp Vault Settings (when SECRETS_BACKEND=vault)
# =============================================================================
# VAULT_ADDR=http://localhost:8200
# VAULT_TOKEN=your-vault-token
# VAULT_MOUNT_PATH=secret
# VAULT_BASE_PATH=agents
# =============================================================================
# Optional: Enable real GitHub API testing
# =============================================================================
# Set to "true" to run tests that call the real GitHub API
# Requires valid GitHub App credentials above
TEST_GITHUB_API_ENABLED=false