Skip to content

feat(auth): add support for new service version in VPC Instant Auth#247

Open
diatrcz wants to merge 3 commits into
mainfrom
lt/vpc-auth-extension
Open

feat(auth): add support for new service version in VPC Instant Auth#247
diatrcz wants to merge 3 commits into
mainfrom
lt/vpc-auth-extension

Conversation

@diatrcz

@diatrcz diatrcz commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

This PR adds support for the new VPC Instance Metadata Service version (2025-08-26) with the following changes:

  • Added configurable ServiceVersion field (default: "2022-03-01") that switches to new API paths (/identity/v1/token, /identity/v1/iam_tokens) when set to "2025-08-26"
  • Added TokenLifetime field (default: 300s) for customizable token expiration
  • Configuration via builder methods (SetServiceVersion(), SetTokenLifetime()) or VPC_IMS_VERSION environment variable
  • Full backward compatibility with older service versions

diatrcz added 3 commits June 4, 2026 14:40
Signed-off-by: Lídia Tarcza <100163235+diatrcz@users.noreply.github.com>
Signed-off-by: Lídia Tarcza <100163235+diatrcz@users.noreply.github.com>
Signed-off-by: Lídia Tarcza <100163235+diatrcz@users.noreply.github.com>
@diatrcz diatrcz marked this pull request as ready for review June 9, 2026 14:06
@diatrcz diatrcz requested a review from pyrooka June 9, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant