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
  • 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 December 15, 2025
View as Markdown
  • 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.

  • 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
© 2026 Direct Cursus Technology L.L.C.