Enterprise Only
This section is only relevant to Enterprise customers who acquired an on-prem license.
Prerequisites Setup
Complete these requirements before running the Permit Platform installer.
1. Git Repository Setup
Required: Permit Platform needs a Git repository to store and sync authorization policies.
Quick Setup
# 1. Create SSH key pair
ssh-keygen -t rsa -b 4096 -f permit-policy-key -N ""
# This creates two files:
# permit-policy-key (private key - keep secure)
# permit-policy-key.pub (public key - add to Git repository)
# 2. Set correct permissions
chmod 600 permit-policy-key
Add Key to Your Git Platform
- GitHub
- GitLab
- Bitbucket
- Go to your repository → Settings → Deploy keys
- Click "Add deploy key"
- Copy contents of
permit-policy-key.pub
and paste it - ✅ CRITICAL: Check "Allow write access"
- Click "Add key"
- Go to your project → Settings → Repository → Deploy Keys
- Click "Add new key"
- Paste contents of
permit-policy-key.pub
- ✅ CRITICAL: Check "Grant write permissions to this key"
- Click "Add key"
- Go to repository → Settings → Access keys
- Click "Add key"
- Paste contents of
permit-policy-key.pub
- Click "Add SSH key"
Test Git Access
# Test SSH connection (replace with your Git platform)
ssh -T git@github.com -i ./permit-policy-key
# Expected response:
# "Hi username/repository! You've successfully authenticated, but GitHub does not provide shell access."
Prepare Installation Information
You'll need these during installation:
- Repository SSH URL:
git@github.com:yourorg/permit-policies.git
- Private key file:
permit-policy-key
(in same directory as installer)
2. Server Requirements
Sizing Guide
Size | Use Case | Servers | CPU | RAM | Storage |
---|---|---|---|---|---|
Small | Testing/Development | 1 | 4 cores | 8GB | 50GB |
Medium | Production | 1-3 | 8 cores | 16GB | 100GB |
Large | Enterprise | 3-5 | 16 cores | 32GB | 200GB |
Operating System Support
- Ubuntu: 18.04, 20.04, 22.04 LTS
- RHEL/CentOS: 7.x, 8.x, 9.x
- SUSE: SLES 15+
- Architecture: x86_64 (AMD64)
Network Requirements
- Web Access: Ports 80, 443
- Multi-server: Ports 6443 (k3s API), 10250 (kubelet)
- Servers: Must be on same network/VLAN and able to communicate
- Internet: Not required after download
3. Access Requirements
- Root/sudo access on all servers
- SSH access to servers for installation
- Firewall rules allowing required ports
Common Setup Issues
Git Access Problems
❌ "Permission denied (publickey)"
- Verify public key is added to repository
- Check private key permissions:
chmod 600 permit-policy-key
- Ensure repository URL uses SSH format:
git@github.com:...
Repository URL Format
# ✅ Correct formats:
GitHub: git@github.com:yourorg/permit-policies.git
GitLab: git@gitlab.com:yourorg/permit-policies.git
Custom: git@git.yourcompany.com:policies/permit.git
# ❌ Incorrect formats:
https://github.com/yourorg/permit-policies.git # HTTPS not supported
github.com:yourorg/permit-policies.git # Missing git@ prefix
Deploy Key Issues
⚠️ "Deploy key already in use" (GitHub)
Each GitHub deploy key can only be used by one repository.
Solution: Generate a new key pair:
ssh-keygen -t rsa -b 4096 -f permit-policy-key-new -N ""
Verification Checklist
Before proceeding to installation, verify:
- Git repository created and accessible
- SSH key pair generated (
permit-policy-key
andpermit-policy-key.pub
) - Public key added to repository with write access
- Git access tested successfully
- Server meets minimum requirements
- Root/sudo access available
- Required ports available
Prerequisites complete? Continue to Installation Guide →