Skip to content

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

Draft
diatrcz wants to merge 2 commits into
mainfrom
lt/vpc-auth-extension
Draft

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

Conversation

@diatrcz
Copy link
Copy Markdown
Contributor

@diatrcz diatrcz commented Jun 4, 2026

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 2 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>
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