Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Cloud Organization
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • Authentication
      • Overview
        • Overview
        • Generate
  • Audit Trails events
  • Release notes

In this article:

  • HTTP request
  • Body parameters
  • Response
  1. API reference
  2. REST
  3. SshCertificate
  4. Generate

Cloud Organization API, REST: SshCertificate.Generate

Written by
Yandex Cloud
Updated at November 26, 2024
  • HTTP request
  • Body parameters
  • Response

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

HTTP request

POST https://organization-manager.api.cloud.yandex.net/organization-manager/v1/sshCertificates:generate

Body parameters

{
  // Includes only one of the fields `cloudId`, `organizationId`
  "cloudId": "string",
  "organizationId": "string",
  // end of the list of possible fields
  // Includes only one of the fields `subjectId`, `osLogin`
  "subjectId": "string",
  "osLogin": "string",
  // end of the list of possible fields
  "publicKey": "string"
}

Field

Description

cloudId

string

the cloud must be attached to an organization

Includes only one of the fields cloudId, organizationId.

organizationId

string

Includes only one of the fields cloudId, organizationId.

subjectId

string

specify subject to generate certificate for default login

Includes only one of the fields subjectId, osLogin.

osLogin

string

specify os_login for a specific login

Includes only one of the fields subjectId, osLogin.

publicKey

string

Required field.

Response

HTTP Code: 200 - OK

{
  "signedCertificate": "string"
}

Field

Description

signedCertificate

string

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

Was the article helpful?

Previous
Overview
Next
Overview
Yandex project
© 2025 Yandex.Cloud LLC