Skip to main content
Kosli Capture is still in active development. Its capabilities and configuration format may change, and onboarding is done together with Kosli’s Customer Success team.

Kosli Capture permissions

The Kosli Capture managed service uses the public AWS APIs to extract information about your cloud environments. In order to do this, you need to provide Kosli with an IAM role that allows access to these APIs. The role is created and owned by you. Kosli publishes a CloudFormation template, for use in AWS, showing the permissions needed. The template is publicly accessible and can be used directly within an aws cloudformation create-stack call. The CloudFormation template we share with you includes a “phone-home” feature that notifies Kosli when a CloudFormation stack has been built from it; this allows us to pick up the AWS AccountId for the account in which you have used the CloudFormation template without you needing to do anything. This automation is especially useful when you deploy the template as a StackSet within an Organizational Unit.

Assume role

The IAM role defined within the CloudFormation template includes an “assume role” policy granting permission from Kosli. This appears as:

All permissions needed

The IAM role defined within the Cloudformation template includes a number of IAM policy statements, granting read-only access to some AWS APIs. The statements are:

How Kosli isolates customers

Kosli Capture runs as a shared, autoscaled service, but each job runs under a role that is scoped to one customer:
  • A Kosli Capture worker picks up a job for your organization and assumes a Kosli-side role that exists only for your organization. Only that role is permitted to call AssumeRole into your account with your ExternalId. A Kosli Capture worker running for a different customer is unable to connect to your cloud account.
  • When the job finishes, those credentials are discarded. A worker holding credentials for your cloud account has no path to anyone else’s account.
  • The ExternalId lives in Parameter Store and is readable only by the Kosli-side role for your organization. The shared task role cannot read any customer’s ExternalId. Separation is enforced by IAM, not by application code.
The trust policy on the role in your account limits access to the AWS account in which Kosli Capture is running. The ExternalId acts as a shared secret between Kosli and you, so that only Kosli Capture is permitted to assume the role. Kosli Capture itself does not hold any customer data. Snapshots taken by Kosli Capture are immediately sent to Kosli through the same ingest path as your existing pipelines.
Last modified on September 16, 2026