lakeFS icon indicating copy to clipboard operation
lakeFS copied to clipboard

Feature Request: Add JWT Session Token Authentication to lakectl

Open nopcoder opened this issue 7 months ago • 7 comments

Add support for lakectl to use JWT session tokens as an authentication method, providing an alternative to the current username/password authentication.

Problem

Currently, lakectl only supports username/password authentication, which:

  • Doesn't support temporary access scenarios
  • Can't integrate with external identity providers that issue JWTs

Requirements

  • Add new configuration option as part of lakectl credentials to pass valid JWT - Example: LAKECTL_CREDENTIALS_SESSION_TOKEN
  • Update authentication logic to prioritize token auth when provided

Benefits

  • Better integration with temporary access patterns
  • Alignment with python client support with session token

nopcoder avatar Mar 17 '25 15:03 nopcoder