Redeem a fmrl.site key code
fmrl_redeemRedeem a one-time fmrl key code to set this machine's saved key; use only when given a code, and the current key remains if redemption fails.
Instructions
Trade a key code for the fmrl key it carries and make that this machine's key, saved in its credentials file. A key rotated from the fmrl.site keys page reaches its agent as a key code: 26 letters and digits in groups of four, like K7QX-M2PA-…, which works once, for 10 minutes. Use it only when the person gives you such a code, as in "Redeem my fmrl key code …"; to replace this machine's own secret, use fmrl_rotate. A replaced key's ring stays in the file. A spent or expired code fails and the current key is kept, and when FMRL_API_KEY sets the key nothing is redeemed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The key code, as given; dashes, spaces and case don't matter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| prefix | Yes | ||
| replaced | No |