type LoginPageOptions = { mode: 'local' | 'oidc' csrf: string returnTo: string error: string | null styleNonce: string } export function renderLoginPage(options: LoginPageOptions): string { const destination = options.returnTo === '/console/aws' ? '' : `
Your own cloud, on your own hardware.
Build and test against AWS services locally, with SSO in front.
Point any AWS SDK or the AWS CLI at your TheCloud endpoint and your code runs unchanged, with nothing leaving your network.
# point the AWS CLI at TheCloud (sample values)
export AWS_ENDPOINT_URL=http://localhost:4566
export AWS_ACCESS_KEY_ID=test AWS_SECRET_ACCESS_KEY=test
export AWS_DEFAULT_REGION=us-east-1
aws s3 mb s3://demo-bucket
aws sqs create-queue --queue-name fulfilment-queue
aws stepfunctions list-state-machines