Live data from Hacker News

Launch HN: Slauth.io (YC S22) – IAM Policy Auto-Generation

news.ycombinator.com

31–33 of 33 posts

Re: Launch HN: Slauth.io (YC S22) – IAM Policy Auto-Generation

#31
Per-resource IAM policy generation alone is not even half good enough. Most AWS services have complex IAM policy requirements that are unique to a specific AWS service or product, and within each there is typically a subset of policies being necessary (less frequently, the entire lot of them) – depending on which parts of the service/product are used, e.g. take a look at https://docs.aws.amazon.com/appflow/latest/userguide/securit...

Oftentimes, resource policies require condition or context keys to be supplied, e.g. https://docs.aws.amazon.com/glue/latest/dg/using-identity-ba...

Or a S3 cross-account replication policy that requires a specific condition to be able to decrypt and re-encrypt the data in the S3 bucket. KMS policies, in general, are notorius for mandating conditions and context keys – at once.

Cross-account IAM resource policies are even more complex, as they require policies to be configured in both accounts, and the policy is different in each of accounts; take Glue as a simpler example: https://docs.aws.amazon.com/glue/latest/dg/cross-account-acc... Such knowledge can't be [easily] derived from parsing and analysing a terraform codebase alone.

Without maintaining a comprehensive repository of AWS services and IAM policy generation rules specific to each of the AWS services that can support a specific permutation of product features used in a project, I fail to see how this product is useful or what it can do beyond trivial «grant the service instance ABC access to the service DEF by using DEF's ARN». Which is… frankly not very useful on its own.

Re: Launch HN: Slauth.io (YC S22) – IAM Policy Auto-Generation

#32

Earlier quoted context omitted.

Thank you for the feedback!! We needed something to start of with but your arguments are very fair so we will have to change it. Would you like to sign up for the Beta and give it a try? Would absolutely love your opinionated feedback :D Also, how much would you pay? Could you give us some insights there.

If you dumped out terraform code for policies, I'd probably pay up to $150/mo for some very reasonable number of policies (200?).

Nice! Will work on the pricing tiers and features. Regardless, would love for you to test it out and we can agree on the above $150/mo for 200 policies :)

Re: Launch HN: Slauth.io (YC S22) – IAM Policy Auto-Generation

#33

Earlier quoted context omitted.

If you dumped out terraform code for policies, I'd probably pay up to $150/mo for some very reasonable number of policies (200?).

https://flosell.github.io/iam-policy-json-to-terraform/ you can do this for free

I don't need to convert JSON to TF. I need someone to tell me which policies are too lax and give me the Terraform code that should replace them.
Post reply on HN