mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
docs: update ssh key description (#16602)
Fixes: https://github.com/coder/coder/issues/15672
This commit is contained in:
Generated
+1
@@ -11800,6 +11800,7 @@ const docTemplate = `{
|
||||
"format": "date-time"
|
||||
},
|
||||
"public_key": {
|
||||
"description": "PublicKey is the SSH public key in OpenSSH format.\nExample: \"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID3OmYJvT7q1cF1azbybYy0OZ9yrXfA+M6Lr4vzX5zlp\\n\"\nNote: The key includes a trailing newline (\\n).",
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
|
||||
Generated
+1
@@ -10591,6 +10591,7 @@
|
||||
"format": "date-time"
|
||||
},
|
||||
"public_key": {
|
||||
"description": "PublicKey is the SSH public key in OpenSSH format.\nExample: \"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID3OmYJvT7q1cF1azbybYy0OZ9yrXfA+M6Lr4vzX5zlp\\n\"\nNote: The key includes a trailing newline (\\n).",
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
|
||||
@@ -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.
|
||||
|
||||
Generated
+6
-6
@@ -3090,12 +3090,12 @@ Git clone makes use of this by parsing the URL from: 'Username for "https://gith
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|--------------|--------|----------|--------------|-------------|
|
||||
| `created_at` | string | false | | |
|
||||
| `public_key` | string | false | | |
|
||||
| `updated_at` | string | false | | |
|
||||
| `user_id` | string | false | | |
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|--------------|--------|----------|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `created_at` | string | false | | |
|
||||
| `public_key` | string | false | | Public key is the SSH public key in OpenSSH format. Example: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID3OmYJvT7q1cF1azbybYy0OZ9yrXfA+M6Lr4vzX5zlp\n" Note: The key includes a trailing newline (\n). |
|
||||
| `updated_at` | string | false | | |
|
||||
| `user_id` | string | false | | |
|
||||
|
||||
## codersdk.Group
|
||||
|
||||
|
||||
Reference in New Issue
Block a user