storeSecret

context.storeSecret('key', 'value') - storing secret for current user

Arguments
argumentTypeDescription
keystring
valuestring

Return value - Promise

When storing a secret, the system will generate a unique encryption key for the user (if one doesn’t already exist), encrypt the data, and store it in the browser’s local storage — but only under your integration’s domain, not the host platform's domain.

await context.storeSecret('secret_key', 'secret value')
logo
Kaiten
If you have any questions or need help with integration feel free to write us at support@kaiten.io