treeverse / lakeFS

lakeFS - Data version control for your data lake | Git for data
https://docs.lakefs.io
Apache License 2.0
4.46k stars 359 forks source link

command to check current user in lakectl #8322

Closed ItamarYuran closed 3 weeks ago

ItamarYuran commented 3 weeks ago

Closes #8313

Change Description

Added functionality to check the user currently configured in lakectl

Background

see https://github.com/treeverse/lakeFS/issues/8313

New Feature

The new command prints the user info. The info consists of user id, email (only in case exists) and user creation date

Testing Details

Added tests esti tests to check both cases of existing and non existing email

Additional info

Screenshot 2024-10-30 at 11 57 00

github-actions[bot] commented 3 weeks ago

:recycle: PR Preview 0ba8d319c1d53a47f2c18c2287d1bc19e804c4a8 has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

github-actions[bot] commented 3 weeks ago

E2E Test Results - DynamoDB Local - Local Block Adapter

13 passed
github-actions[bot] commented 3 weeks ago

E2E Test Results - Quickstart

11 passed
N-o-Z commented 2 weeks ago

@ItamarYuran @arielshaqed why is this a top level command? Why not put it under auth?