Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • 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
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 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
  • Audit Trails events
  • Release notes

In this article:

  • gRPC request
  • google.protobuf.Empty
  • PasswordMetadata
  • PasswordUsage
  1. API reference
  2. gRPC
  3. Identity Provider API
  4. User
  5. GetSelfPasswordMetadata

Identity Provider API, gRPC: UserService.GetSelfPasswordMetadata

Written by
Yandex Cloud
Updated at August 8, 2025
  • gRPC request
  • google.protobuf.Empty
  • PasswordMetadata
  • PasswordUsage

Returns metadata about the authenticated user's password.

gRPC requestgRPC request

rpc GetSelfPasswordMetadata (google.protobuf.Empty) returns (PasswordMetadata)

google.protobuf.Emptygoogle.protobuf.Empty

{}

Field

Description

Empty

PasswordMetadataPasswordMetadata

{
  "id": "string",
  "type": "PasswordType",
  "created_at": "google.protobuf.Timestamp",
  "expires_at": "google.protobuf.Timestamp",
  "last_usage": {
    "used_at": "google.protobuf.Timestamp",
    "ip_address": "string"
  }
}

Metadata about a user's password.

Field

Description

id

string

Unique identifier of the password.

type

enum PasswordType

Type of the password.

  • PASSWORD_TYPE_UNSPECIFIED: The password type is not specified.
  • TEMPORARY: Temporary password that must be changed on first use.
  • PERMANENT: Permanent password.

created_at

google.protobuf.Timestamp

Timestamp when the password was created.

expires_at

google.protobuf.Timestamp

Timestamp when the password expires.

last_usage

PasswordUsage

Information about the last usage of the password.

PasswordUsagePasswordUsage

Information about password usage.

Field

Description

used_at

google.protobuf.Timestamp

Timestamp when the password was last used.

ip_address

string

IP address from which the password was used.

Was the article helpful?

Previous
GeneratePassword
Next
ConvertToExternal
© 2025 Direct Cursus Technology L.L.C.