mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-27 23:47:22 -04:00
Cloned UserKey struct to config so it can be documented. Added examples. (#149)
This commit is contained in:
parent
b905c28515
commit
cfad36720b
4 changed files with 152 additions and 48 deletions
|
@ -12,8 +12,8 @@ import (
|
|||
|
||||
// UserKey describes an user that should be created with a corresponding public SSH key.
|
||||
type UserKey struct {
|
||||
Username string `yaml:"user"`
|
||||
PublicKey string `yaml:"pubkey"`
|
||||
Username string
|
||||
PublicKey string
|
||||
}
|
||||
|
||||
// SSHAccess reads ssh public keys from a channel, creates the specified users if required and writes the public keys to the users authorized_keys file.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue