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' ? '' : `
Landing on ${escapeHtml(options.returnTo)}
` const alert = options.error ? `` : '' const signIn = options.mode === 'oidc' ? `
` : `
` return ` Sign in · TheCloud

$

Your own cloud, on your own hardware.

Invoke functionsLambda
Store objectsS3
Queue messagesSQS
Publish eventsSNS
Query tablesDynamoDB
Orchestrate workflowsStep Functions

Build and test against AWS services locally, with SSO in front.

quickstart

Same CLI. Different cloud.

Point any AWS SDK or the AWS CLI at your TheCloud endpoint and your code runs unchanged, with nothing leaving your network.

quickstart.sh
# 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
` } function escapeHtml(value: string): string { return value.replace(/[&<>'"]/g, (character) => ({'&': '&', '<': '<', '>': '>', "'": ''', '"': '"'}[character] ?? character)) }