Rocky_Mountain_Vending/.pnpm-store/v10/files/9c/1ad8e1c81f213c444f24bd0d9bd76cd2f6c5f7fe43916b200f742c02ce84e7e2c195aa42e55e37d91a0ed428d55bb082ce44f2d79b790fb9ea30d90b40ed23
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

69 lines
1.8 KiB
Text

import type { AwsIdentityProperties, CredentialProviderOptions, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
import type { SSOClient, SSOClientConfig } from "./loadSso";
/**
* @internal
*/
export interface SsoCredentialsParameters {
/**
* The URL to the AWS SSO service.
*/
ssoStartUrl: string;
/**
* SSO session identifier.
* Presence implies usage of the SSOTokenProvider.
*/
ssoSession?: string;
/**
* The ID of the AWS account to use for temporary credentials.
*/
ssoAccountId: string;
/**
* The AWS region to use for temporary credentials.
*/
ssoRegion: string;
/**
* The name of the AWS role to assume.
*/
ssoRoleName: string;
}
/**
* @internal
*/
export interface FromSSOInit extends SourceProfileInit, CredentialProviderOptions {
ssoClient?: SSOClient;
clientConfig?: SSOClientConfig;
callerClientConfig?: AwsIdentityProperties["callerClientConfig"];
}
/**
* @internal
*
* Creates a credential provider that will read from a credential_process specified
* in ini files.
*
* The SSO credential provider must support both
*
* 1. the legacy profile format,
* @example
* ```
* [profile sample-profile]
* sso_account_id = 012345678901
* sso_region = us-east-1
* sso_role_name = SampleRole
* sso_start_url = https://www.....com/start
* ```
*
* 2. and the profile format for SSO Token Providers.
* @example
* ```
* [profile sso-profile]
* sso_session = dev
* sso_account_id = 012345678901
* sso_role_name = SampleRole
*
* [sso-session dev]
* sso_region = us-east-1
* sso_start_url = https://www.....com/start
* ```
*/
export declare const fromSSO: (init?: FromSSOInit & Partial<SsoCredentialsParameters>) => RuntimeConfigAwsCredentialIdentityProvider;