Make the first recovery key
Makes an age key pair and returns the private key once, as a file. The console keeps only the public key. The backups stay off until an admin confirms the key. A new setup replaces a key that waits for its confirm. With a confirmed key, use rotate.
POST
/api/v1/console-backup/keys/setupAuthorization
tse_sessionAPI key · cookierequiredResponses
200
OK
created_atstring<date-time>requiredfile_namestringrequiredThe file name for the download of key_file
fingerprintstringrequiredkey_filestringrequiredThe recovery key file, with the private key. The console shows it only in this answer and does not keep it
recipientstringrequiredThe age public key that the console keeps
default
Error
codestringStable code of the refusal, when the route has codes
detailsstring[]Additional detail, e.g. per-field validation failures
errorstringrequiredHuman-readable error message