clearSecret

context.getSecret('key') - clear previously stored secret

Arguments
argumentTypeDescription
keystring

Return value - Promise

This method removes a locally stored secret that was saved via ctx.storeSecret

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