Files
boc/landvex/node_modules/openai/providers/bedrock/aws.d.mts
T
Bernt 6989a98d75 feat: Passwordless cross-device authentication
- Arkitektur: docs/auth/passwordless-architecture.md
- Backend: iom/quixzoom-auth-service/ (FastAPI + Redis)
- Webb: quixzoom-market-pages/se/login/ (QR-kod + polling)
- App: iom/quixzoom-app/src/features/auth/ (push + deep links)

Flöde: QR-kod → app-godkännande → webb-inloggad
2026-07-07 07:11:50 +00:00

24 lines
1.2 KiB
TypeScript

import { type BedrockBearerOptions, type BedrockEndpointOptions } from "../../internal/bedrock.mjs";
import { type Provider } from "../../internal/provider.mjs";
export interface AwsCredentialIdentity {
accessKeyId: string;
secretAccessKey: string;
sessionToken?: string;
expiration?: Date;
}
export type AwsCredentialsProvider = () => AwsCredentialIdentity | Promise<AwsCredentialIdentity>;
export interface BedrockProviderOptions extends BedrockEndpointOptions, BedrockBearerOptions {
/** Explicit AWS access key ID. Must be paired with secretAccessKey. */
accessKeyId?: string | undefined;
/** Explicit AWS secret access key. Must be paired with accessKeyId. */
secretAccessKey?: string | undefined;
/** Optional session token for explicit temporary AWS credentials. */
sessionToken?: string | undefined;
/** Explicit AWS shared-config profile. */
profile?: string | undefined;
/** A refreshable provider returning AWS credentials. */
credentialProvider?: AwsCredentialsProvider | undefined;
}
/** Configure the standard OpenAI client for Amazon Bedrock using bearer or AWS authentication. */
export declare function bedrock(options?: BedrockProviderOptions): Provider;
//# sourceMappingURL=aws.d.mts.map