Skip to content

Secrets and Outputs

OutputPurpose
ApiUrlBase API URL (before analyze) for CLI / GHA
ApiKeyIdID used to retrieve the key value once
CognitoUserPoolId / CognitoClientId / CognitoRegionSPA auth
AmplifyAppId / AmplifyBranchNameZip deploy targets
AppUrlHosted owner UI URL

The API key value is never a stack output — retrieve with get-api-key --include-value.

NameUsed byNotes
AWS_ROLE_ARNDeploy (OIDC)Secret
AWS_REGIONDeployOptional variable; default ap-southeast-2
PR_READY_OWNER_EMAILDeploy / Cognito inviteSecret preferred — Deploy reads secret first, then Actions variable
PR_READY_API_URLpr-ready.ymlSecret — set after first deploy
PR_READY_API_KEYpr-ready.ymlSecret — key value, not ApiKeyId
ENABLE_CDK_DIFFOptional CIVariable true enables cdk-diff

Bake at build time into the SPA: API URL + Cognito IDs only. No VITE_API_KEY.