mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 20:25:43 +00:00
Finished adding support for service account JSON auth method for GCP secret manager integration
This commit is contained in:
@@ -394,6 +394,7 @@ export const useSaveIntegrationAccessToken = () => {
|
||||
mutationFn: async ({
|
||||
workspaceId,
|
||||
integration,
|
||||
refreshToken,
|
||||
accessId,
|
||||
accessToken,
|
||||
url,
|
||||
@@ -401,14 +402,16 @@ export const useSaveIntegrationAccessToken = () => {
|
||||
}: {
|
||||
workspaceId: string | null;
|
||||
integration: string | undefined;
|
||||
accessId: string | null;
|
||||
accessToken: string;
|
||||
refreshToken?: string;
|
||||
accessId?: string;
|
||||
accessToken?: string;
|
||||
url: string | null;
|
||||
namespace: string | null;
|
||||
}) => {
|
||||
const { data: { integrationAuth } } = await apiRequest.post("/api/v1/integration-auth/access-token", {
|
||||
workspaceId,
|
||||
integration,
|
||||
refreshToken,
|
||||
accessId,
|
||||
accessToken,
|
||||
url,
|
||||
|
||||
Reference in New Issue
Block a user