UNPKG

@dataroadinc/setup-auth

Version:

CLI tool and programmatic API for automated OAuth setup across cloud platforms

12 lines (11 loc) 581 B
import { AuthenticationType, GcpAuthenticatedIdentity } from "../../../providers/gcp/creds/identity.js"; import { SetupAuthGlobalOptions } from "../../../types/index.js"; export declare const GCP_VIEW_ITEMS: readonly ["project", "organization", "service-account"]; export type GcpViewItem = (typeof GCP_VIEW_ITEMS)[number]; export interface gcpViewOptions extends SetupAuthGlobalOptions { item: string; auth?: AuthenticationType; identity?: GcpAuthenticatedIdentity; enable?: boolean; } export declare function checkOptions(options: gcpViewOptions): Promise<void>;