mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
generate user key for new cluster and add it to peers on bootstrap machine
This commit is contained in:
@@ -6,4 +6,6 @@ type Cluster struct {
|
||||
Name string `toml:"-"`
|
||||
Machines []MachineConnection `toml:"machines"`
|
||||
Secret secret.Secret `toml:"secret"`
|
||||
// UserKey is the user's WireGuard private key used to connect to cluster machines.
|
||||
UserKey secret.Secret `toml:"user_key"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user