CreateApiKey

gRPC · Identity service

UNARY

── API key management ───────────────────────────────────────────────────── CreateApiKey returns the raw_key exactly once. Callers MUST store it securely; it cannot be retrieved after this call.

/shrikedb.identity.v2.IdentityService/CreateApiKey

Request fields

Protocol fieldTypeJSON field
user_uidUidProtouserUid
namestringname

Response contract

Open CreateApiKeyResponse for every field, enum, nested message, and presence rule. Check the RPC status and any outcome fields in the response.

Connection and availability

The identity service requires a multi-tenant deployment with authentication enabled. Login and refresh accept their own credentials; administration requires tenant Admin or Grant permission. See authentication and wire encoding for metadata, deadlines, and retry behavior.