UNPKG

n8n-nodes-gcloud-sa-impersonate

Version:

n8n community node for Google Cloud Service Account Token Impersonation

6 lines (5 loc) 501 B
import { ImpersonationResponse } from './types'; export declare function getGceMetadataToken(metadataServerUrl?: string): Promise<string>; export declare function impersonateServiceAccount(sourceToken: string, targetServiceAccount: string, scopes: string[], delegates?: string[], lifetime?: string): Promise<ImpersonationResponse>; export declare function parseScopesString(scopesString: string): string[]; export declare function parseDelegatesString(delegatesString?: string): string[] | undefined;