localstack-samples / localstack-samples/localstack-pro-samples

Migrate from API Key to Auth Token for sample tests

Open
#262 4 comments 0 reactions 1 assignee View on GitHub

@prakgov is already working on this.

Since Oct 22, 2025.

bug good first issue hacktoberfest
Dominant language
Makefile
Stars
196
Forks
65
PR merge metrics
No merged PRs in 30d

Description

The LocalStack API key (`LOCALSTACK_API_KEY`) has been sunset and will no longer work for authentication. To ensure that the sample tests in this repository continue to execute successfully, migrate all usages of `LOCALSTACK_API_KEY` to the new `LOCALSTACK_AUTH_TOKEN` environment variable.

**Tasks:**
- Identify all places where `LOCALSTACK_API_KEY` is referenced and replace with `LOCALSTACK_AUTH_TOKEN` (mainly in `makefile.yml`)
- Update documentation and code comments where necessary
- Validate that sample tests pass with the new auth token

**Impact:**

Without this migration, sample tests will fail due to authentication errors since the API key mechanism is deprecated.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.