@@ -94,6 +94,7 @@ def create_user(self, username: str, pwd: str, **kwargs: Any) -> dict:
94
94
- resource_pool: Resource pool to which the user should be added.
95
95
- opt_in: Whether the user has seen the initial contact dialog.
96
96
- tour_version: The version of the Workbench tour the user has completed.
97
+ - pubkey: An SSH public key for terminal server. Empty string to clear.
97
98
98
99
:returns: User object.
99
100
"""
@@ -120,6 +121,7 @@ def update_user(self, user_id: str, **kwargs: Any) -> dict:
120
121
- resource_pool: Resource pool to which the user should be added.
121
122
- opt_in: Whether the user has seen the initial contact dialog.
122
123
- tour_version: The version of the Workbench tour the user has completed.
124
+ - pubkey: An SSH public key for terminal server. Empty string to clear.
123
125
124
126
:returns: User object.
125
127
"""
@@ -138,6 +140,7 @@ def _prepare_body(
138
140
associations : list [dict [str , list [str ]]] | None = None ,
139
141
admin : bool | None = None ,
140
142
password_dict : dict [str , str ] | None = None ,
143
+ pubkey : str | None = None ,
141
144
resource_pool : str | None | _Sentinel = UNCHANGED ,
142
145
opt_in : bool | None | _Sentinel = UNCHANGED ,
143
146
tour_version : str | None = None ,
@@ -150,6 +153,7 @@ def _prepare_body(
150
153
"groups" : groups ,
151
154
"associations" : associations ,
152
155
"password" : password_dict ,
156
+ "pubkey" : pubkey ,
153
157
"tour_version" : tour_version ,
154
158
}
155
159
sentinel_data = {
0 commit comments