diff --git a/packages/plugins/plugin-cert/src/libs/google.ts b/packages/plugins/plugin-cert/src/libs/google.ts index 81a24fc1..79bfcb1e 100644 --- a/packages/plugins/plugin-cert/src/libs/google.ts +++ b/packages/plugins/plugin-cert/src/libs/google.ts @@ -19,7 +19,7 @@ export class GoogleClient { const credentials = JSON.parse(access.serviceAccountSecret); const client = new v1.PublicCertificateAuthorityServiceClient({ credentials }); - const parent = `projects/${access.projectId}/locations/global`; + const parent = `projects/${credentials.projectId}/locations/global`; const externalAccountKey = {}; const request = { parent,