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

Document required permissions to run basti init #102

Open
tibuntu opened this issue Jun 26, 2024 · 2 comments
Open

Document required permissions to run basti init #102

tibuntu opened this issue Jun 26, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@tibuntu
Copy link

tibuntu commented Jun 26, 2024

Bug Description

Hi there, we recently reduced IAM permissions for our developers which led to the situation that they can not longer run basti init by themselves. Could you please document the required permissions?

Right now Basti isn't really pointing out which permissions are missing (Which it btw. does when running a cleanup):

Error setting up bastion. Can't create IAM role for bastion instance. Access denied by IAM.

Thanks!

Steps to Reproduce

Do not grant your AWS user full IAM permissions and try to run basti init

@tibuntu tibuntu added the bug Something isn't working label Jun 26, 2024
@BohdanPetryshyn BohdanPetryshyn added documentation Improvements or additions to documentation and removed bug Something isn't working labels Jul 22, 2024
@BohdanPetryshyn
Copy link
Collaborator

Hi @tibuntu! I missed the issue somehow and since it's almost a month from when you opened it, is the request still relevant to you?

I understand that your use case might differ from my experience but in general, the recommended way of using Basti in a limited privilege environment is to initialize an instance once and then grant people the minimal set of permissions for the connect command documented here.

Cheers.

@andreas-mueller-bb
Copy link

Even for a limited privilege environment it would be interesting which exact permissions are needed, if the initilization should be carried out by someone who doesn't hold full administrator permissions.

Also for transparency reasons I would welcome an overview :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants