localstack-samples/localstack-pro-samples

Migrate from API Key to Auth Token for sample tests

開放

#262 建立於 2025年10月9日

 (4 則留言) (0 個反應) (1 位負責人)Makefile (66 個分叉)github user discovery
buggood first issuehacktoberfest

倉庫指標

星標
 (194 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南