On-demand S3 bucket access

We have a our AWS synced up with Okta using AWS’s Identity Center, which is great. However, I find myself dealing with AWS policy changes every day just in order to give some of the analysts and engineers that we have in the company the specific S3 bucket access they need when they request it.

Our process is, they request it in JIRA, and if it is approved by our IT team, then there’s a ticket, and I go in and add the bucket to the policy. Is there a good way anyone here has delegated some of this work out to the IT team? I have tried different approaches with no luck. Mostly still needing to go and change the policy in AWS every time. Anyone out there built something or has something we can use?

We went the route of trying to build something that solves exactly that problem, if I understood correctly what you are trying to solve. We wrote a bot that lets our users request which role they need, the problem there was that these roles didnt always include the buckets.

We came across Apono recently, and that gave allowed us to give engineers the ability to request what bucket they need access to, and then it goes to our IT for approval, and then their OKTA user gains access to the bucket through the same AWS SSO connection he already has. That allowed me to get out of the loop, in most scenarios.

Now I’m trying to leverage the RDS MySQL integration they have to do the same. Will keep you updated on how that one works!

I think you can use consoleme for this. It’s opensource.

I think you can use consoleme for this. It’s opensource.

If you “blindly” give them access, would it be better to create a specific role that has access to the buckets and allow all the people in the group to being able to impersonificate such role?

You can assign IAM roles to users and groups. I’d create the relevant roles and then just have IT add the user to the specific group.

Look at attribute based access . Using tags and group mapping

If they only need access to download specific files, I’d just give them a presigned url.

If it’s someone needing more in depth bucket access, I’d have an API built to update the necessary policies for their user.

Look into boto3

You’re giving them access by clicking? Gitops all the things

This

+1 on Apono for this! We were one of the earlier companies to use their platform and I can recommend. We tried to leverage consoleme at first before deciding on Apono.

If only identity center supported custom attributes…

Random people making a pr against your infrastructure repo?

Good one

As an extension of this. Make a web portal which raises this PR for the user. Approver or decline as part of the request ticket.

They’re not random they are employees and you or Infosec have to approve it. The PR is the approval. This is standard stuff. Though for access control I’d prefer it be automated against the ticketing system

The idea that people will make GitHub pull requests is comically naive but try it lol.

That’s what we do in production at our workplace; global pharma company. If you’re able to work with the data you’re able to make a pull request :man_shrugging:

It’s the norm in a lot of companies

How would you easily setup a web portal for this?

check NirvaShare