Skip to content

API reference / @backpack/vite-plugin-lambda / refreshAwsTokenIfNeeded

Function: refreshAwsTokenIfNeeded()

ts
function refreshAwsTokenIfNeeded(): Promise<void>;

Utility that can be used to refresh the AWS token, if you need to authenticate your local environment.

Returns

Promise<void>