Skip to content
Open
Changes from 12 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
50 changes: 50 additions & 0 deletions release/models/system/openconfig-aaa.yang
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ module openconfig-aaa {

leaf ssh-key {
type string;
status deprecated;
Comment thread
syaghi-c marked this conversation as resolved.
description
"SSH public key for the user (RSA or DSA)";
Comment thread
syaghi-c marked this conversation as resolved.
Outdated
}
Comment thread
syaghi-c marked this conversation as resolved.
Expand All @@ -420,6 +421,23 @@ module openconfig-aaa {
description
"Operational state data for local users";
}

Comment thread
syaghi-c marked this conversation as resolved.
Outdated
grouping authorized-ssh-key-config {
description
"Configuration data for user SSH keys";

leaf name {
type string;
description
"The name with which to reference the authorized SSH public key";
}

leaf authorized-ssh-key {
Comment thread
syaghi-c marked this conversation as resolved.
Outdated
type string;
Comment thread
syaghi-c marked this conversation as resolved.
description
"Authorized SSH public key for the user";
Comment thread
syaghi-c marked this conversation as resolved.
Outdated
}
}

grouping aaa-authentication-user-top {
description
Expand Down Expand Up @@ -458,6 +476,38 @@ module openconfig-aaa {
uses aaa-authentication-user-config;
uses aaa-authentication-user-state;
}

container authorized-ssh-keys {
Comment thread
syaghi-c marked this conversation as resolved.
Outdated
description
"Top-level container for authorized SSH keys";

list authorized-ssh-key {
key "name";
description
"Authorized SSH public keys for the user (RSA or ECDSA)";
Comment thread
syaghi-c marked this conversation as resolved.
Outdated

leaf name {
type leafref {
path "../config/key-name";
Comment thread
syaghi-c marked this conversation as resolved.
Outdated
}
description
"References the key name in the configuration block";
}

container config {
description
"Configuration data for the authorized SSH key";
uses authorized-ssh-key-config;
}

container state {
config false;
description
"Operational state data for the authorized SSH key";
uses authorized-ssh-key-config;
}
}
}
}

}
Expand Down
Loading