Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify the documentation surrounding authorized_key field. #212

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions credentialz/credentialz.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading