-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify the documentation surrounding authorized_key field.
- Loading branch information
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -442,18 +442,19 @@ enum KeyType { | |
KEY_TYPE_ECDSA_P_384 = 7; | ||
} | ||
|
||
// AuthorizedKey is an ssh key/idenity. The basic openssh format follows: | ||
// ecdsa-sha2-nistp521 AAAkeystuffhere [email protected] | ||
// key_type authorized_key description | ||
// AuthorizedKey is an SSH key/idenity. The basic OpenSSH format follows: | ||
// ecdsa-sha2-nistp521 AAAkeystuffhere [email protected] | ||
// key_type authorized_key description | ||
message AccountCredentials { | ||
message AuthorizedKey { | ||
// authorized_key is a mandatory field, it is the string format ssh key | ||
// stored as bytes in the message. | ||
// Authorized key, in base64 string format (the second word of the OpenSSH | ||
// format, i.e. `AAAkeystuffhere` in the above example). This field is | ||
// mandatory. | ||
bytes authorized_key = 1; | ||
// Options specified for this authorized key. | ||
// Options are optional. | ||
repeated Option options = 2; | ||
// Key encryption type, this is a mandatory field. | ||
// Key algorithm, this is a mandatory field. | ||
KeyType key_type = 3; | ||
// An optional description of the key. | ||
string description = 4; | ||
|