Cloud Organization API, gRPC: SshCertificateService
Статья создана
Обновлена 30 августа 2023 г.
Call | Description |
---|---|
Generate | Members of an organization can generate certificates for themselves Signing certificates for other users requires a special permission |
Calls SshCertificateService
Generate
Members of an organization can generate certificates for themselves Signing certificates for other users requires a special permission
rpc Generate (GenerateSshCertificateRequest) returns (GenerateSshCertificateResponse)
GenerateSshCertificateRequest
Field | Description |
---|---|
scope | oneof: cloud_id or organization_id |
cloud_id | string The maximum string length in characters is 50. |
organization_id | string The maximum string length in characters is 50. |
subject | oneof: subject_id or os_login |
subject_id | string The maximum string length in characters is 50. |
os_login | string The maximum string length in characters is 32. |
public_key | string Required. The maximum string length in characters is 15000. |
GenerateSshCertificateResponse
Field | Description |
---|---|
signed_certificate | string as per specification https://cvsweb.openbsd.org/src/usr.bin/ssh/PROTOCOL.certkeys?annotate=HEAD |