Skip to content

Commit 06a95df

Browse files
authored
chore: Return info about key in GenerateGlobalApiKey response (#333)
1 parent 04430d3 commit 06a95df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

proto/global_admin.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,11 @@ message _GenerateGlobalApiKeyRequest {
238238
}
239239

240240
message _GenerateGlobalApiKeyResponse {
241+
// the actual key that will be used for authentication.
242+
// this is the only time it's produced.
241243
string api_key = 1;
244+
// details about the key, can also be retried via the ListGlobalApiKeys endpoint
245+
GlobalApiKey key_info = 2;
242246
}
243247

244248
// Account Session Token provides relevant account.

0 commit comments

Comments
 (0)