Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Identity Hub
  • Access management
  • Pricing policy
  • Terraform reference
    • Authentication
      • Overview
        • Overview
          • Overview
          • Get
          • List
          • Create
          • Update
          • Delete
          • SetOwnPassword
          • SetOthersPassword
          • Suspend
          • Reactivate
          • GeneratePassword
          • GetSelfPasswordMetadata
          • ConvertToExternal
          • SetPasswordHash
          • ResolveExternalIds
          • GetPasswordChanges
          • CommitPassword
  • Audit Trails events
  • Release notes
  • Yandex Identity Hub Sync Agent release notes

In this article:

  • gRPC request
  • GeneratePasswordRequest
  • GeneratePasswordResponse
  • PasswordSpec
  1. API reference
  2. gRPC
  3. Identity Provider API
  4. User
  5. GeneratePassword

Identity Provider API, gRPC: UserService.GeneratePassword

Written by
Yandex Cloud
Updated at December 15, 2025
View in Markdown
  • gRPC request
  • GeneratePasswordRequest
  • GeneratePasswordResponse
  • PasswordSpec

Generates a new password.

gRPC requestgRPC request

rpc GeneratePassword (GeneratePasswordRequest) returns (GeneratePasswordResponse)

GeneratePasswordRequestGeneratePasswordRequest

{}

Request to generate a new password.

Field

Description

Empty

GeneratePasswordResponseGeneratePasswordResponse

{
  "password_spec": {
    "password": "string",
    "generation_proof": "string"
  }
}

Response for the UserService.GeneratePassword operation.

Field

Description

password_spec

PasswordSpec

Generated password specification.

PasswordSpecPasswordSpec

Password specification.

Field

Description

password

string

Required field. The password string.

The maximum string length in characters is 128.

generation_proof

string

Proof that the password was generated by the system.

The maximum string length in characters is 128.

Was the article helpful?

Previous
Reactivate
Next
GetSelfPasswordMetadata
© 2026 Direct Cursus Technology L.L.C.