File tree Expand file tree Collapse file tree 1 file changed +25
-3
lines changed
Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2- # Integration test configuration
2+
3+ # SSH Key Sync Configuration File
4+ # This file defines which users should have their SSH keys synchronized and from where.
5+
6+ # GitHub token for accessing private repositories (optional)
7+ # You can also set this as an environment variable: export GITHUB_TOKEN="your_token_here"
8+ # CONF_GITHUB_TOKEN="your_github_token_here"
9+
10+ # User SSH key configuration
11+ # Format: ["username"]="method:source"
12+ #
13+ # Available methods:
14+ # raw: Fetch from a public URL (e.g., raw GitHub file)
15+ # api: Fetch from GitHub API (requires GITHUB_TOKEN for private repos)
16+ # ghuser: Fetch public keys from a GitHub user's profile
17+ #
18+ # Examples:
319declare -A USER_KEYS=(
4- # Use a real GitHub user with known public keys for integration testing
5- [" testintegration" ]=" ghuser:locus313"
20+ # Fetch keys from a public URL
21+ # ["ubuntu"]="raw:https://example.com/ssh-keys/ubuntu.authorized_keys"
22+
23+ # Fetch keys from a private GitHub repository using API
24+ # ["devuser"]="api:https://api.github.com/repos/yourorg/ssh-keys/contents/keys/devuser.authorized_keys?ref=main"
25+
26+ # Fetch public keys from a GitHub user's profile
27+ # ["alice"]="ghuser:alice-github-username"
628)
You can’t perform that action at this time.
0 commit comments