Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Identity Hub
  • Access management
  • Pricing policy
  • Terraform reference
    • Authentication
      • Overview
        • Overview
        • Generate
  • Audit Trails events
  • Release notes
  • Yandex Identity Hub Sync Agent release notes

In this article:

  • gRPC request
  • GenerateSshCertificateRequest
  • GenerateSshCertificateResponse
  1. API reference
  2. gRPC
  3. SshCertificate
  4. Generate

Identity Hub API, gRPC: SshCertificateService.Generate

Written by
Yandex Cloud
Updated at December 15, 2025
  • gRPC request
  • GenerateSshCertificateRequest
  • GenerateSshCertificateResponse

Members of an organization can generate certificates for themselves
Signing certificates for other users requires a special permission

gRPC requestgRPC request

rpc Generate (GenerateSshCertificateRequest) returns (GenerateSshCertificateResponse)

GenerateSshCertificateRequestGenerateSshCertificateRequest

{
  // Includes only one of the fields `cloud_id`, `organization_id`
  "cloud_id": "string",
  "organization_id": "string",
  // end of the list of possible fields
  // Includes only one of the fields `subject_id`, `os_login`
  "subject_id": "string",
  "os_login": "string",
  // end of the list of possible fields
  "public_key": "string"
}

Field

Description

cloud_id

string

the cloud must be attached to an organization

The maximum string length in characters is 50.

Includes only one of the fields cloud_id, organization_id.

organization_id

string

The maximum string length in characters is 50.

Includes only one of the fields cloud_id, organization_id.

subject_id

string

specify subject to generate certificate for default login

The maximum string length in characters is 50.

Includes only one of the fields subject_id, os_login.

os_login

string

specify os_login for a specific login

The maximum string length in characters is 32.

Includes only one of the fields subject_id, os_login.

public_key

string

Required field.

The maximum string length in characters is 15000.

GenerateSshCertificateResponseGenerateSshCertificateResponse

{
  "signed_certificate": "string"
}

Field

Description

signed_certificate

string

as per specification https://cvsweb.openbsd.org/src/usr.bin/ssh/PROTOCOL.certkeys?annotate=HEAD

Was the article helpful?

Previous
Overview
Next
Overview
© 2025 Direct Cursus Technology L.L.C.