blob: 2bfc4ed514315557c62b70c80c165570044dc662 [file] [log] [blame]
Serge Bazanskibee272f2022-09-13 13:52:42 +02001syntax = "proto3";
2package cloud.api;
3option go_package = "source.monogon.dev/cloud/api";
4
5service IAM {
6 rpc WhoAmI(WhoAmIRequest) returns (WhoAmIResponse);
7}
8
9message WhoAmIRequest {
10}
11
12message WhoAmIResponse {
13 // Opaque identifier (eg. UUID) of the acting account. Immutable.
14 string account_id = 1;
15 // Primary email address of the acting account. Can change, must not be used
16 // as a foreign key in other systems.
17 string email = 2;
18}