Skip to main content

Why we need permissions

To deliver savings, we analyse your AWS usage and apply commitment-based discounts on your behalf. This is done through a cross-account IAM role that you create in your payer account with our CloudFormation template. The role follows the principle of least privilege. We only receive the access strictly necessary to:
  1. Read cost and usage data.
  2. Detect optimisation opportunities.
  3. Manage the lifecycle of our .

Monitoring (Read-Only)

These permissions let MilkStraw AI monitor your spend and resources without touching your workloads. Cost management
Compute & DataStores
We have a deny policy for Redshift, to block access to cluster credentials:
Storage & Containers
We only read bucket and repository metadata (configuration, lifecycle policies, Storage Lens metrics). Never the objects stored inside your buckets.
Networking & Load Balancing
Logs
We only read log group metadata (retention settings, stored bytes). Never the log events themselves.
AWS optimisation tools These permissions let us read recommendations that AWS itself generates for your account.

Enabling AWS cost tools

These actions are required to enable AWS Compute Optimizer and S3 Storage Lens for your account, so their recommendations can feed into our analysis.
iam:CreateServiceLinkedRole and organizations:EnableAWSServiceAccess are locked down with IAM conditions so they can only be used for the Compute Optimizer, S3 Storage Lens, and AWS Organizations service-linked roles, nothing else.

Integration management

These actions are required to integrate MilkBox accounts into your AWS Organization.
We use organizations:CreateOrganization when the organization is not already created, this is a one-time operation for small standalone accounts, if you already have an organization, this api cant be executed against your account, then organizations:InviteAccountToOrganization is used to invite MilkBox accounts to your organization.

Cost monitoring and visibility

These permissions are required to read resource tags for cost allocation and visibility per resource. Tagging

Review the full policy

You can always inspect the exact IAM policy generated by our CloudFormation stack: View the JSON policy ↗ Feel free to reach out if you have any questions about security or least-privilege access.