Documentation
Sign inGet started

bird realtime apps keys create

Usage

Ejemplo de código
bird realtime apps keys create <realtime-app-id> [flags]

Description

Add a key to an app and read its secret. Takes no body. This response is the only place the secret appears, so a caller that does not capture it has to create another key. The app's existing keys keep working, which is what makes this the first step of a rotation: add, roll out, then revoke the old key.

Procedure

Step 1 of 2 of "Rotate a Realtime app's keys with no downtime". Next: bird realtime apps keys revoke.

Examples

Ejemplo de código
bird realtime apps keys create <id>

Options

NameDescription
--idempotency-keyDeduplication key; a retry with the same key won't act twice
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird realtime apps keys listList a Realtime app's keys
bird realtime apps keys revokeRevoke a Realtime app key