Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no lakectl command to check current user #8313

Closed
nadavsteindler opened this issue Oct 28, 2024 · 1 comment · Fixed by #8322
Closed

There is no lakectl command to check current user #8313

nadavsteindler opened this issue Oct 28, 2024 · 1 comment · Fixed by #8322
Assignees
Labels
feature good first issue Good for newcomers

Comments

@nadavsteindler
Copy link
Contributor

nadavsteindler commented Oct 28, 2024

This is an API that we lack that @arielshaqed suggested- both he and I ran into this missing functionality

Story

Basically, when you run lakectl, it looks at your access key and determines what user you are based on that. That user's authorization policies are applied. It is very common that users make a mistake and specify the wrong access key and it takes a lot of effort to debug.

Feature Request

It would be nice if we had a lakectl command. Something similar perhaps to https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sts/get-caller-identity.html

@arielshaqed
Copy link
Contributor

AWS have this (never mind the UX), e.g.

❯ aws sts get-caller-identity
{
    "UserId": "AROAR3RFY3EGTFAMROWCR:[email protected]",
    "Account": "127854500109",
    "Arn": "arn:aws:sts::127854500109:assumed-role/JumpCloudDeveloper/[email protected]"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants