Different roles allow different restrictions on the type of certificate that can be signed and issued by a given ssh CA.
Roles that define allowed principal names, certificate TTL, and other constraints for certificates issued by this SSH CA.
Created
Bad Request
Unauthorized
Forbidden
Not Found
Conflict (instance exists)
Service Unavailable (strongbox sealed)
name: signer key-type: ca cert-key-type: rsa cert-key-size: 2048 allowed-users: - root - ubuntu - jb allowed-domains: - avassa.io - avassa.net ttl: 50m max-ttl: 1d allowed-critical-options: [] allowed-extensions: - permit-X11-forwarding - permit-port-forwarding - permit-pty - permit-user-rc default-critical-options: [] default-extensions: - permit-X11-forwarding - permit-pty - permit-user-rc allow-user-certs: true allow-host-certs: false allow-bare-domains: true allow-subdomains: true allow-user-key-ids: false allowed-user-key-lengths: [] distribute: to: inherit
Roles that define allowed principal names, certificate TTL, and other constraints for certificates issued by this SSH CA.
| fields | string Retrieve only requested fields from the resource See section fields |
| where | string Retrieve only items matching the given expression. See section where |
| validate | string <enumeration> Validate the request but do not actually perform the requested operation |
| keys | string <enumeration> Retrieve only the keys for the list |
| count | string <enumeration> Retrieve only the number of elements in the list |
OK
Bad Request
Unauthorized
Forbidden
Not Found
Precondition Failed
Service Unavailable (strongbox sealed)
- name: signer key-type: ca cert-key-type: rsa cert-key-size: 2048 allowed-users: - root - ubuntu - jb allowed-domains: - avassa.io - avassa.net ttl: 50m max-ttl: 1d allowed-critical-options: [] allowed-extensions: - permit-X11-forwarding - permit-port-forwarding - permit-pty - permit-user-rc default-critical-options: [] default-extensions: - permit-X11-forwarding - permit-pty - permit-user-rc allow-user-certs: true allow-host-certs: false allow-bare-domains: true allow-subdomains: true allow-user-key-ids: false allowed-user-key-lengths: [] distribute: to: inherit
Roles that define allowed principal names, certificate TTL, and other constraints for certificates issued by this SSH CA.
No Content
Bad Request
Unauthorized
Forbidden
Not Found
Precondition Failed
Service Unavailable (strongbox sealed)
name: signer key-type: ca cert-key-type: rsa cert-key-size: 2048 allowed-users: - root - ubuntu - jb allowed-domains: - avassa.io - avassa.net ttl: 50m max-ttl: 1d allowed-critical-options: [] allowed-extensions: - permit-X11-forwarding - permit-port-forwarding - permit-pty - permit-user-rc default-critical-options: [] default-extensions: - permit-X11-forwarding - permit-pty - permit-user-rc allow-user-certs: true allow-host-certs: false allow-bare-domains: true allow-subdomains: true allow-user-key-ids: false allowed-user-key-lengths: [] distribute: to: inherit
Roles that define allowed principal names, certificate TTL, and other constraints for certificates issued by this SSH CA.
No Content
Bad Request
Unauthorized
Forbidden
Not Found
Precondition Failed
Service Unavailable (strongbox sealed)
Roles that define allowed principal names, certificate TTL, and other constraints for certificates issued by this SSH CA.
Created
No Content
Bad Request
Unauthorized
Forbidden
Not Found
Precondition Failed
Service Unavailable (strongbox sealed)
name: signer key-type: ca cert-key-type: rsa cert-key-size: 2048 allowed-users: - root - ubuntu - jb allowed-domains: - avassa.io - avassa.net ttl: 50m max-ttl: 1d allowed-critical-options: [] allowed-extensions: - permit-X11-forwarding - permit-port-forwarding - permit-pty - permit-user-rc default-critical-options: [] default-extensions: - permit-X11-forwarding - permit-pty - permit-user-rc allow-user-certs: true allow-host-certs: false allow-bare-domains: true allow-subdomains: true allow-user-key-ids: false allowed-user-key-lengths: [] distribute: to: inherit
Roles that define allowed principal names, certificate TTL, and other constraints for certificates issued by this SSH CA.
OK
Bad Request
Unauthorized
Forbidden
Not Found
Precondition Failed
Service Unavailable (strongbox sealed)
name: signer key-type: ca cert-key-type: rsa cert-key-size: 2048 allowed-users: - root - ubuntu - jb allowed-domains: - avassa.io - avassa.net ttl: 50m max-ttl: 1d allowed-critical-options: [] allowed-extensions: - permit-X11-forwarding - permit-port-forwarding - permit-pty - permit-user-rc default-critical-options: [] default-extensions: - permit-X11-forwarding - permit-pty - permit-user-rc allow-user-certs: true allow-host-certs: false allow-bare-domains: true allow-subdomains: true allow-user-key-ids: false allowed-user-key-lengths: [] distribute: to: inherit
Roles that define allowed principal names, certificate TTL, and other constraints for certificates issued by this SSH CA.
| fields | string Retrieve only requested fields from the resource See section fields |
| where | string Retrieve only items matching the given expression. See section where |
| site | string Send the request to the specfifed site |
| content | string <enumeration> Filter descendant nodes in the response |
| keys | string <enumeration> Retrieve only the keys for the list |
| count | string <enumeration> Retrieve only the number of elements in the list |
OK
Bad Request
Unauthorized
Forbidden
Not Found
Service Unavailable (strongbox sealed)
- name: signer key-type: ca cert-key-type: rsa cert-key-size: 2048 allowed-users: - root - ubuntu - jb allowed-domains: - avassa.io - avassa.net ttl: 50m max-ttl: 1d allowed-critical-options: [] allowed-extensions: - permit-X11-forwarding - permit-port-forwarding - permit-pty - permit-user-rc default-critical-options: [] default-extensions: - permit-X11-forwarding - permit-pty - permit-user-rc allow-user-certs: true allow-host-certs: false allow-bare-domains: true allow-subdomains: true allow-user-key-ids: false allowed-user-key-lengths: [] distribute: to: inherit distribution-status: to: none
Roles that define allowed principal names, certificate TTL, and other constraints for certificates issued by this SSH CA.
| fields | string Retrieve only requested fields from the resource See section fields |
| where | string Retrieve only items matching the given expression. See section where |
| site | string Send the request to the specfifed site |
| content | string <enumeration> Filter descendant nodes in the response |
OK
Bad Request
Unauthorized
Forbidden
Not Found
Service Unavailable (strongbox sealed)
name: signer key-type: ca cert-key-type: rsa cert-key-size: 2048 allowed-users: - root - ubuntu - jb allowed-domains: - avassa.io - avassa.net ttl: 50m max-ttl: 1d allowed-critical-options: [] allowed-extensions: - permit-X11-forwarding - permit-port-forwarding - permit-pty - permit-user-rc default-critical-options: [] default-extensions: - permit-X11-forwarding - permit-pty - permit-user-rc allow-user-certs: true allow-host-certs: false allow-bare-domains: true allow-subdomains: true allow-user-key-ids: false allowed-user-key-lengths: [] distribute: to: inherit distribution-status: to: none
Generate a one-time password (OTP) for SSH host authentication. The OTP is used by the SSH helper on the target host to verify the connecting user's identity against this CA role.
OK
Bad Request
Unauthorized
Forbidden
Not Found
Service Unavailable (strongbox sealed)
ip: 192.168.0.55
ip: 192.168.0.55 key: fa683720-f834-4e9f-b04c-152ec8fa5303 key-type: otp port: 22 username: ubuntu expires: 1970-01-01T00:27:21.994155Z
OK
Bad Request
Unauthorized
Forbidden
Not Found
Service Unavailable (strongbox sealed)
public-key: | ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDzGm8UaHf1vbDr4J4OYMivONjA9GHjEw il8RER57cIrh2OIObGixCiKlqUUUrAdjqa7z1VUb0Xfsn3wu5+0VY5F/XNai7MvTNappSx QDN0vRzLzDMrdkFskscYVcw/Cfp/xo36nXl4IJLrOB/F6CZRsgP1Mq3YH3tEO7uU71uLTd 1kSYh7w/2g4ujJ4X10XMaLG3+UfTGPjWj/YXsSHKYtGctUDt0U+7AjmM9jz4Ult1XXHHvU 3rRm5fXaNbEsIZxEX/R7Gf090GmRNuJeKD7sCFT2trgepOOJqCYqUZZPbDNbO5ElM2VlK/ 1AAzDgWPSMuZmSw1ibg3OyZsQcoHTr jb@tio ttl: 12h valid-principals: - ubuntu cert-type: user key-id: admin-ssh critical-options: [] extensions: - permit-X11-forwarding - permit-pty
cert: | ecdsa-sha2-nistp521-cert-v01@openssh.com AAAAKGVjZHNhLXNoYTItbmlzdHA1MjEtY2VydC12MDFAb3BlbnNzaC5jb20AAAAgKGtKDBzjkBlbeH6W5kJOFtHVoy7UW5It/F4TwXgdO2IAAAAIbmlzdHA1MjEAAACFBAFX+SYuOoSEMESTuvHzjuog/ULOe8w4TxGe5nGQ/HHEspQWMBjvsXOsokkStlpy+8swMs4+RRiSb+3OmQS/i5JVLAGRvIrjhRKSUZmN6wzCj0NQO07aAYOxQwVRKmdPQNtqMJJyLojSiITa/ipFPFanJsIAAyIR4AFQqSCQQfZGjsBHjAAAAAAAAAABAAAAAQAAABh1c2VycGFzcy1hZG1pbkB0ZWxjby5jb20AAAAIAAAABHJvb3QAAAAAAAAAAAAAAABh3q7uAAAAAAAAAIIAAAAVcGVybWl0LVgxMS1mb3J3YXJkaW5nAAAAAAAAABdwZXJtaXQtYWdlbnQtZm9yd2FyZGluZwAAAAAAAAAWcGVybWl0LXBvcnQtZm9yd2FyZGluZwAAAAAAAAAKcGVybWl0LXB0eQAAAAAAAAAOcGVybWl0LXVzZXItcmMAAAAAAAAAAAAAAGgAAAATZWNkc2Etc2hhMi1uaXN0cDI1NgAAAAhuaXN0cDI1NgAAAEEE4P/oEHY6cXExAEgDu/d3U83M8m3PVn/bBPvev505I3OBBnvk6mLm2GaCs/ItPPaaWqgebukI6tFqELf0uCpCsAAAAGUAAAATZWNkc2Etc2hhMi1uaXN0cDI1NgAAAEoAAAAhAIRUj+Sa2UZsRArHV7lLY9nyMB/qhnhRswWCsBjya7TYAAAAIQD1WZfWh69T9cacp1bvkBNc2zD9qjSy/Jahu1bv1t5AcQ== userpass-admin@telco.com public-key: | ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAFX+SYuOoSEMESTuvHzjuog/ULOe8w4TxGe5nGQ/HHEspQWMBjvsXOsokkStlpy+8swMs4+RRiSb+3OmQS/i5JVLAGRvIrjhRKSUZmN6wzCj0NQO07aAYOxQwVRKmdPQNtqMJJyLojSiITa/ipFPFanJsIAAyIR4AFQqSCQQfZGjsBHjA== root private-key: | -----BEGIN OPENSSH PRIVATE KEY----- b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAArAAAABNlY2RzYS 1zaGEyLW5pc3RwNTIxAAAACG5pc3RwNTIxAAAAhQQBV/kmLjqEhDBEk7rx847qIP1CznvM OE8RnuZxkPxxxLKUFjAY77FzrKJJErZacvvLMDLOPkUYkm/tzpkEv4uSVSwBkbyK44USkl GZjesMwo9DUDtO2gGDsUMFUSpnT0DbajCSci6I0oiE2v4qRTxWpybCAAMiEeABUKkgkEH2 Ro7AR4wAAAEAOnymeTp8pnkAAAATZWNkc2Etc2hhMi1uaXN0cDUyMQAAAAhuaXN0cDUyMQ AAAIUEAVf5Ji46hIQwRJO68fOO6iD9Qs57zDhPEZ7mcZD8ccSylBYwGO+xc6yiSRK2WnL7 yzAyzj5FGJJv7c6ZBL+LklUsAZG8iuOFEpJRmY3rDMKPQ1A7TtoBg7FDBVEqZ09A22owkn IuiNKIhNr+KkU8VqcmwgADIhHgAVCpIJBB9kaOwEeMAAAAQVsiFfWJRwOpdHK11itD7ejS pSf7uiKVPZZ88jQRaT8ky0fjUbh1AtTiuFpC/4rv0BN8ugFLwV0gzcsjapLEzbFvAAAAAA ECAw== -----END OPENSSH PRIVATE KEY----- ca-public-key: | ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHSLaSvbPs7OwB1E6eTvUlvKP+zt1K9GnuYtPvkmuaN/poh3AXcF2mx/213GEvwiUrn893Och8+izAXdo9NyNGc= strongbox serial: 1 expires: 2022-01-27T09:57:48.000000Z
Validate an OTP generated by get-otp. Called by the SSH helper
on the target host to verify that the OTP matches a previously
issued credential for the connecting client IP address.
OK
Bad Request
Unauthorized
Forbidden
Not Found
Service Unavailable (strongbox sealed)
otp: e947cddf-1100-4ef7-b155-fd15aedb7c92
ip: 192.168.0.55 username: ubuntu role-name: otp