chore: create script to print new google auth token for testing
This commit is contained in:
4
src/scripts/printGoogleAuthToken.ts
Normal file
4
src/scripts/printGoogleAuthToken.ts
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
import { getAdminSdkCredentials } from "~/libs/gcloud/getAdminSdkCredentials";
|
||||||
|
import { getGoogleAuthToken } from "~/libs/gcloud/getGoogleAuthToken";
|
||||||
|
|
||||||
|
console.log(await getGoogleAuthToken(getAdminSdkCredentials(process.env)));
|
||||||
1
src/types/env.d.ts
vendored
1
src/types/env.d.ts
vendored
@@ -7,5 +7,4 @@ interface Env extends HonoEnv, Record<string, unknown> {
|
|||||||
TURSO_AUTH_TOKEN: string;
|
TURSO_AUTH_TOKEN: string;
|
||||||
ENABLE_ANIFY: string;
|
ENABLE_ANIFY: string;
|
||||||
ADMIN_SDK_JSON: string;
|
ADMIN_SDK_JSON: string;
|
||||||
TURSO_AUTH_TOKEN: string;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user