Skip to main content
The API & Encryption Keys page holds the credentials your code uses to call CSVbox: the API key and API secret key, and the encryption key that CSVbox uses to decrypt encrypted environment variables. Open it from the user menu in the top right of the dashboard: API Keys.

Whose keys you see

Keys belong to a workspace, not to each person.
  • In your personal account, the page shows your own keys.
  • In a team, the page shows the team owner’s keys. Everyone in the team uses the same keys. The card says which team the keys belong to and, for members other than the owner, who owns them.
If you belong to a team and also have your own account, you see different keys depending on which one you have open.

API keys

The API Keys card shows two values: Both values are masked. Click the eye icon to show a value, or Copy to copy it to the clipboard. If a key doesn’t exist yet, click Generate Key or Generate API Secret Key.
Keep the API secret key on your server. Don’t put it in front-end code or share it publicly.

Regenerate a key

Click Regenerate Key or Regenerate API Secret Key, then confirm.
  • The current key stops working the moment you confirm.
  • Every integration that uses it fails until you update it with the new key: REST API calls, Zapier, Airtable and any other connected app.
  • The old key can’t be recovered.
Update everything that uses the key straight after you regenerate it.
In a team, only the team owner can generate or regenerate the API keys. Other members who click the button see Only the team owner can change API keys and can ask the owner, or switch to their own account to use their own keys.

Encryption keys

The Encryption Keys card configures how your app encrypts values that it passes to the importer as environment variables. Your app encrypts them with this key; CSVbox decrypts them when the import runs. See Environment variables for how to pass encrypted values.

Encryption type

New accounts start on GCM.

Encryption mode

Choose Base64 or Binary to match how your app encodes the encrypted output. New accounts start on Base64. This option isn’t shown for Legacy CBC.
Your app must encrypt data with the type and mode you choose here. Update your code before you save a change, or imports that send encrypted values can’t read them.

Encryption key

Click Generate Encryption Key to create a key, or paste your own key into the Encryption Key field. Then click Save.
  • The first time, a generated key only fills the field. It isn’t applied until you click Save.
  • After settings are saved, Regenerate Encryption Key replaces the stored key straight away. Data encrypted with the old key can’t be decrypted with the new one, and the old key can’t be recovered. Update your app with the new key.
  • Changes to the type and mode apply only when you click Save.
If encrypted values can’t be decrypted, for example because the key or mode doesn’t match, the import continues without them.

Who can see this page

See Teams for more about roles.