Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 2.01 KB

File metadata and controls

49 lines (40 loc) · 2.01 KB

A Tool for Complex and Scalable Data Access Policy Enforcement

S3 Resource Service

The S3 Resource Service contains S3 specific configuration required to allow the Resource Service to communicate with AWS S3 using alpakka s3. The S3 Resource Service checks the specific bucket configured for the request for the presence of the Resource, and returns it as a LeafResource if it exists.

To choose the s3-resource-service as the technology in your Palisade deployment, you can do so by running the following:
java -Dloader.path=s3-resource-service/target -jar resource-service.jar
Or by configuring the implementation in the relevant yaml files:

resource:
        implementation: s3

To configure the Alpakka S3 Resource Service, read the specific yaml, and the inline comments by each value, for example:

alpakka.s3:
  aws:
    # If this section is absent, the fallback behavior is
    # to use the same configuration as if credentials.provider = default
    credentials:
      # default: as described in software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider docs,
      # attempts to get the credentials from either:
      #   - environment variables
      #   - system properties
      #   - credentials file
      #   - EC2 credentials service
      #   - IAM / metadata
      provider: default