Skip to content

Conversation

@blacha
Copy link
Member

@blacha blacha commented May 8, 2025

Motivation

We have seen a increase of consumer api keys using scripted methods to pull large amounts of data from basemaps.linz.govt.nz these users should be using bulk data access methods like linz/imagery or limz/elevation, as the keys are only consumer we have no easy way of contacting them.

Our only option is to disable their keys and hope that they reach out.

Modifications

Add a environment variable to allow us to block API keys

Verification

unit tests and further tests in nonprod.

@blacha blacha requested a review from a team as a code owner May 8, 2025 03:12
@blacha blacha requested review from ccbblin and tawera-manaena May 8, 2025 03:12
@blacha blacha changed the title feat(lambda-tiler): allow API keys to be disabled BM-1281 feat(lambda-tiler)!: allow API keys to be disabled BM-1281 May 8, 2025
@blacha blacha enabled auto-merge May 8, 2025 03:43
@blacha blacha added this pull request to the merge queue May 8, 2025
Merged via the queue into master with commit 387d6ff May 8, 2025
15 checks passed
@blacha blacha deleted the feat/block-api-keys branch May 8, 2025 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants