mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
docs: update ssh key description (#16602)
Fixes: https://github.com/coder/coder/issues/15672
This commit is contained in:
@@ -15,7 +15,10 @@ type GitSSHKey struct {
|
||||
UserID uuid.UUID `json:"user_id" format:"uuid"`
|
||||
CreatedAt time.Time `json:"created_at" format:"date-time"`
|
||||
UpdatedAt time.Time `json:"updated_at" format:"date-time"`
|
||||
PublicKey string `json:"public_key"`
|
||||
// PublicKey is the SSH public key in OpenSSH format.
|
||||
// Example: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID3OmYJvT7q1cF1azbybYy0OZ9yrXfA+M6Lr4vzX5zlp\n"
|
||||
// Note: The key includes a trailing newline (\n).
|
||||
PublicKey string `json:"public_key"`
|
||||
}
|
||||
|
||||
// GitSSHKey returns the user's git SSH public key.
|
||||
|
||||
Reference in New Issue
Block a user