Skip to main content
Version: v2

AWS Lambda

Use aws lambda in a scoped workspace and verify the result with integrations records.

Workspace context​

Use aws lambda in a scoped workspace and verify the result with integrations records. Select a workspace with representative test data and record the active revision before you start. A response from a different workspace can look valid even when it contains none of the expected records.

Keep the provider credential in the integration runtime. Give the adapter a separate BoundaryKit identity and apply the boundary before dispatching a tool call. Carry the decision identifier into the provider log for correlation.

BoundaryKit request flow

Read the baseline​

Request the first page of integrations using the v2 endpoint. Supply the organization explicitly on every request. Load the key from your shell environment and keep the expanded command out of build logs.

curl --fail-with-body "https://api.boundarykit.com/v2/integrations" -H "X-API-Key: $BKIT_KEY" -H "X-Organization-Id: $BKIT_ORG"

Compare the returned identifiers with the records you expect to see in this workspace. An empty result is a successful read. Verify the workspace selection before creating a replacement record or changing a policy.

Verify the result​

Repeat the read with a credential scoped to a separate test organization. Check the response status before processing the body. Preserve the workspace identifier and response time alongside the revision so another operator can reproduce the observation.

ResponseOperator action
200Inspect the returned integrations records.
403Verify the organization and identity scope.
503Retry the read after a bounded delay.

Keep credentials out of the evidence bundle. Store a request identifier and a redacted response instead.

For a walkthrough of the service boundary, see Runtime architecture.

Acceptance check​

Scope the Lambda execution identity to the deployment workspace. Run the check with a known input and save the observed result beside the configuration revision. Repeat after promotion using the same input and compare both records.

Workspace inspection panel