Objective
This article helps you upload a public key to your Twilio account so it can be used for public key client validation.
Product
Twilio Console
Environment
Twilio Console
User Account Permission/Role(s) Required
An account role that allows you to create public keys.
Procedure
- In the Twilio Console, select Settings in the left sidebar.
- Under Account settings, select Public keys.
- Confirm you are in the region where the key should live, using the region switcher if needed.
- Select Create public key.
- In the Create a new public key panel, enter a Friendly name.
- Paste your key into the Public key field, including the
-----BEGIN PUBLIC KEY-----and-----END PUBLIC KEY-----lines. - Select Create.
- A confirmation appears: "Public key created successfully."
Additional Information
- Both fields are required. Submitting an empty form reports "Friendly name is required" and "Public key is required".
- The key must be in PEM format. A value that does not start with the expected header is rejected with "Public key must start with -----BEGIN PUBLIC KEY-----".
- Extra indentation in the pasted key is tidied up automatically, so a key copied out of a file with leading spaces is still accepted.
- Keys are stored per region. Add the key in each region where you need it.
This content was generated by AI and reviewed, edited, and verified by a human.