AWS S3 Bucket
Bucket configuration
- Remember to select your desired region
- Bucket names are unique in a region
Cross-origin resource sharing
To allow browser communication from other website to the bucket, a cross-origin resource sharing (cors) policy has to be setup in AWS. This can be done in your bucket->permissions->Cross-origin resource sharing (CORS).
[
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"GET",
"PUT"
],
"AllowedOrigins": [
"https://***.dataplus.leitart.de",
"https://***.**.qlikcloud.com"
],
"ExposeHeaders": []
}
](Replace the AllowedOrigins with your Data+ Server and Qlik Server URL)
IAM User
- Create a new User
- Attach policy directly
- Create new policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:ListBucket",
"s3:DeleteObject",
"s3:ListAllMyBuckets"
],
"Resource": [
"arn:aws:s3:::[BucketName]",
"arn:aws:s3:::[BucketName]/*"
]
}
]
}(replace [BucketName] with your bucket name)
- Assign policy to user
- Finish user creation
- Generate AccessKey (User -> Security credentials -> AccessKeys)
Last updated on