localstack-samples/localstack-pro-samples
Auf GitHub ansehenMigrate from API Key to Auth Token for sample tests
Open
#262 geöffnet am 9. Okt. 2025
buggood first issuehacktoberfest
Repository-Metriken
- Stars
- (194 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
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_KEYis referenced and replace withLOCALSTACK_AUTH_TOKEN(mainly inmakefile.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.