Skip to content
Snippets Groups Projects
Commit 8f04545c authored by William Orr's avatar William Orr Committed by Cyril Tovena
Browse files

Add permissions that IAM roles for Loki need (#961)

Currently, it's difficult to determine what permissions Loki needs to operate against S3 and DynamoDB from the provided documentation. This commit adds the permissions necessary to operator Loki, to provide admins guidance on how they can run Loki with the least possible privilege.
parent b27f7b94
No related branches found
No related tags found
No related merge requests found
......@@ -180,6 +180,12 @@ storage_config:
s3forcepathstyle: true
```
To write to S3, Loki will require the following permissions on the bucket:
* s3:ListBucket
* s3:PutObject
* s3:GetObject
#### DynamoDB
Loki uses DynamoDB for the index storage. It is used for querying logs, make
......@@ -213,3 +219,18 @@ table_manager:
provisioned_write_throughput: 10
provisioned_read_throughput: 10
```
For DynamoDB, Loki will require the following permissions on the table:
* dynamodb:BatchGetItem
* dynamodb:BatchWriteItem
* dynamodb:DeleteItem
* dynamodb:DescribeTable
* dynamodb:GetItem
* dynamodb:ListTagsOfResource
* dynamodb:PutItem
* dynamodb:Query
* dynamodb:TagResource
* dynamodb:UntagResource
* dynamodb:UpdateItem
* dynamodb:UpdateTable
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment