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:

  • HTTP request
  • Response
  • PasswordUsage
  1. API reference
  2. REST
  3. Identity Provider API
  4. User
  5. GetSelfPasswordMetadata

Identity Provider API, REST: User.GetSelfPasswordMetadata

Written by
Yandex Cloud
Updated at August 8, 2025
  • HTTP request
  • Response
  • PasswordUsage

Returns metadata about the authenticated user's password.

HTTP requestHTTP request

GET https://organization-manager.api.cloud.yandex.net/organization-manager/v1/idp/users:getSelfPasswordMetadata

ResponseResponse

HTTP Code: 200 - OK

{
  "id": "string",
  "type": "string",
  "createdAt": "string",
  "expiresAt": "string",
  "lastUsage": {
    "usedAt": "string",
    "ipAddress": "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.

createdAt

string (date-time)

Timestamp when the password was created.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

expiresAt

string (date-time)

Timestamp when the password expires.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

lastUsage

PasswordUsage

Information about the last usage of the password.

PasswordUsagePasswordUsage

Information about password usage.

Field

Description

usedAt

string (date-time)

Timestamp when the password was last used.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

ipAddress

string

IP address from which the password was used.

Was the article helpful?

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