Skip to content

Commit

Permalink
s/users/principals
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcequench authored and morrowc committed Dec 1, 2023
1 parent 68e6ea9 commit 241b108
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
8 changes: 4 additions & 4 deletions credentialz/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,8 @@ module: gnsi-credentialz
augment /oc-sys:system/oc-sys:aaa/oc-sys:authentication/oc-sys:users/oc-sys:user/oc-sys:state:
+--ro password-version? version
+--ro password-created-on? created-on
+--ro authorized-users-list-version? version
+--ro authorized-users-list-created-on? created-on
+--ro authorized-principals-list-version? version
+--ro authorized-principals-list-created-on? created-on
+--ro authorized-keys-list-version? version
+--ro authorized-keys-list-created-on? created-on
```
Expand Down Expand Up @@ -750,8 +750,8 @@ module: openconfig-system
| | +--ro role? union
| | +--ro gnsi-credz:password-version? version
| | +--ro gnsi-credz:password-created-on? created-on
| | +--ro gnsi-credz:authorized-users-list-version? version
| | +--ro gnsi-credz:authorized-users-list-created-on? created-on
| | +--ro gnsi-credz:authorized-principals-list-version? version
| | +--ro gnsi-credz:authorized-principals-list-created-on? created-on
| | +--ro gnsi-credz:authorized-keys-list-version? version
| | +--ro gnsi-credz:authorized-keys-list-created-on? created-on
| +--rw authorization
Expand Down
6 changes: 4 additions & 2 deletions credentialz/credentialz.proto
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ service Credentialz {
//
// Allows for setting the SSH authorized keys list for a system account
// (i.e. the set of SSH keys that are allows to login to the account).
// Also allows to set the SSH authorized users list for a system account
// (i.e. the set of SSH certificate users accepted for login to the account).
// Also allows to set the SSH authorized principals list for a system account
// (i.e. the set of SSH certificate principals accepted for login to the
// account).
//
// Moreover, it allows to change the system account's password.
//
// Case 1: Both the credentials and authorized usernames are set.
Expand Down
8 changes: 4 additions & 4 deletions credentialz/gnsi-credentialz.yang
Original file line number Diff line number Diff line change
Expand Up @@ -152,18 +152,18 @@ module gnsi-credentialz {
description
"System role credentials freshness-related data.";

leaf authorized-users-list-version {
leaf authorized-principals-list-version {
type version;
description
"The version of the list of authorized users that is currently
"The version of the list of authorized principals currently
associated with this system role.";
}

leaf authorized-users-list-created-on {
leaf authorized-principals-list-created-on {
type created-on;
description
"The timestamp of the moment the currently used list of
authorized users has been created.";
authorized principals has been created.";
}

leaf authorized-keys-list-version {
Expand Down

0 comments on commit 241b108

Please sign in to comment.