File tree Expand file tree Collapse file tree 6 files changed +17
-5
lines changed Expand file tree Collapse file tree 6 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 11module github.com/st2projects/ssh-sentinel-core
22
3- go 1.18
3+ go 1.22
Original file line number Diff line number Diff line change 11package model
22
33type KeySignRequest struct {
4- Username string `json:"username"`
5- APIKey string `json:"api_key"`
6- Principals []string `json:"principals"`
7- Key string `json:"key"`
4+ Username string `json:"username"`
5+ APIKey string `json:"api_key"`
6+ Principals []string `json:"principals"`
7+ Key string `json:"key"`
8+ Extensions []Extension `json:"extensions"`
89}
10+
11+ type Extension string
12+
13+ const (
14+ no_touch_required Extension = "no-touch-required"
15+ permit_x11_forwarding Extension = "permit-x11-forwarding"
16+ permit_agent_forwarding Extension = "permit-agent_forwarding"
17+ permit_port_forwarding Extension = "permit-port-forwarding"
18+ permit_pty Extension = "permit-pty"
19+ permit_user_rc Extension = "permit-user-rc"
20+ )
You can’t perform that action at this time.
0 commit comments