Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
pthomas
Contributor III
Contributor III

How do I set up a tS3Connection for a local instance

I have a tS3Connection and I see a place for access key and secret key but I need help in setting the rest of it up to point to my hidden from the world instance.

For:
Basic settings
Credential Provider: I left that as Static Credentials
Region: DEFAULT
Advanced settings
Use a custom region endpoint: checked and filled in with my endpoint
Check S3 Accessibility: selected "By Account Owner" but also tried "By Bucket Configuration"

I get the error below.  Why does it appear to be pointing to amazon and not my end point? 

 

Exception in component tS3Connection_1 
com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: null; S3 Extended Request ID: null; Proxy: null), S3 Extended Request ID: null

 

 

Labels (4)
1 Reply
pthomas
Contributor III
Contributor III
Author

This "solution" is more work around and is for when you are in a private cloud.  Hopefully someone has a better idea!

In a Standard job you can drag a tS3Connection on your palette and make these setting configuration changes.

  1. Basic Settings 
    1. Credential Provider; choose "Static Credentials."
    2. Access Key; I prefer to set up context variables, but you can hard code a value.
    3. Secret Key; add either a context variable or hard coded value.
    4. Region; "Default."
  2. Advanced Settings 
    1. Under the Region and Endpoint section
      1. Check the "Use a custom region endpoint" box and enter either the context variable or a hard coded value.
      2. Check the "Enable PathStyleAccess" box.
  3. Dynamic Settings  ** this part is where it both works and makes no sense ** 
    1. Add these 4 Name/Code pairs.
      1. Credential Provider / STATIC_CREDENTIALS
      2. Use a custom region endpoint / true
      3. Enable PathStyleAccess / true
      4. Enable Accelerate Mode / true