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
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Identity and Access Management
  • Secure use of Yandex Cloud
  • Access management
  • Pricing policy
  • Role reference
  • Terraform reference
    • Authentication with the API
      • Overview
        • Overview
        • Get
        • List
        • Create
        • Update
        • Delete
        • ListAccessBindings
        • SetAccessBindings
        • UpdateAccessBindings
        • ListOperations
  • Monitoring metrics
  • Audit Trails events
  • Release notes

In this article:

  • gRPC request
  • GetServiceAccountRequest
  • ServiceAccount
  1. API reference
  2. gRPC
  3. ServiceAccount
  4. Get

Identity and Access Management API, gRPC: ServiceAccountService.Get

Written by
Yandex Cloud
Updated at December 17, 2024
  • gRPC request
  • GetServiceAccountRequest
  • ServiceAccount

Returns the specified ServiceAccount resource.

To get the list of available ServiceAccount resources, make a List request.

gRPC requestgRPC request

rpc Get (GetServiceAccountRequest) returns (ServiceAccount)

GetServiceAccountRequestGetServiceAccountRequest

{
  "service_account_id": "string"
}

Field

Description

service_account_id

string

Required field. ID of the ServiceAccount resource to return.
To get the service account ID, use a ServiceAccountService.List request.

ServiceAccountServiceAccount

{
  "id": "string",
  "folder_id": "string",
  "created_at": "google.protobuf.Timestamp",
  "name": "string",
  "description": "string",
  "labels": "map<string, string>",
  "last_authenticated_at": "google.protobuf.Timestamp"
}

A ServiceAccount resource. For more information, see Service accounts.

Field

Description

id

string

ID of the service account.

folder_id

string

ID of the folder that the service account belongs to.

created_at

google.protobuf.Timestamp

Creation timestamp.

name

string

Name of the service account.
The name is unique within the cloud. 3-63 characters long.

description

string

Description of the service account. 0-256 characters long.

labels

object (map<string, string>)

Resource labels as key:value pairs. Maximum of 64 per resource.

last_authenticated_at

google.protobuf.Timestamp

Timestamp for the last authentication of this service account.

Was the article helpful?

Previous
Overview
Next
List
© 2025 Direct Cursus Technology L.L.C.