snowflake-sdk
Version:
Node.js driver for Snowflake
9 lines (8 loc) • 465 B
TypeScript
export declare function getAwsCredentials(): Promise<import("@smithy/types").AwsCredentialIdentity | null>;
export declare function getAwsRegion(): Promise<string | null>;
export declare function getStsHostname(region: string): string;
/**
* Tries to create a workload identity attestation for AWS.
* If the application isn't running on AWS or no credentials were found, returns null.
*/
export declare function getAwsAttestationToken(): Promise<string | null>;