File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -163,9 +163,9 @@ This endpoint creates or updates a named role.
163163 critical options.
164164
165165- ` allowed_extensions ` ` (string: "") ` – Specifies a comma-separated list of
166- extensions that certificates can have when signed. To allow any critical
167- options, set this to an empty string. Will default to allowing any
168- extensions. For the list of extensions, take a look at the [ sshd
166+ extensions that certificates can have when signed. To allow any extensions,
167+ set this to an empty string. Will default to allowing any extensions.
168+ For the list of extensions, take a look at the [ sshd
169169 manual's] ( https://man.openbsd.org/sshd#AUTHORIZED_KEYS_FILE_FORMAT )
170170 ` AUTHORIZED_KEYS FILE FORMAT ` section. You should add a ` permit- ` before the
171171 name of extension to allow it.
@@ -777,7 +777,7 @@ to the restrictions contained in the role named in the endpoint.
777777- ` critical_options ` ` (map<string|string>: "") ` – Specifies a map of the
778778 critical options that the certificate should be signed for. Defaults to none.
779779
780- - ` extension ` ` (map<string|string>: "") ` – Specifies a map of the extensions
780+ - ` extensions ` ` (map<string|string>: "") ` – Specifies a map of the extensions
781781 that the certificate should be signed for. Defaults to none.
782782
783783### Sample Payload
Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ team, or configuration management tooling.
109109 {
110110 "allow_user_certificates": true,
111111 "allowed_users": "*",
112+ "allowed_extensions": "permit-pty,permit-port-forwarding",
112113 "default_extensions": [
113114 {
114115 "permit-pty": ""
@@ -158,8 +159,9 @@ the client's local workstation.
158159 "public_key": "ssh-rsa AAA...",
159160 "valid_principals": "my-user",
160161 "key_id": "custom-prefix",
161- "extension": {
162- "permit-pty": ""
162+ "extensions": {
163+ "permit-pty": "",
164+ "permit-port-forwarding": ""
163165 }
164166 }
165167 EOH
You can’t perform that action at this time.
0 commit comments