How Do I Store API Tokens and Keys for Integration Scripts?
Swimlane provides a Key Store that may be used for Integration API Tokens and Keys. Even custom Keys for custom Integration scripts may be stored in the Key Store.
- Base64-encode the token/key as a JSON string.
- On the Key Store page in the Integrations UI, give the key a name in the "Key Name" field ("Key" in the example below), and insert the base64-encoded JSON string in the "Encrypted Value" field:

- In your Integration scripts, refer to the key by the name you gave it like this:
key = sw_context.inputs['Key']