Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Aws { S3 { # S3 Credentials, Used For Read/Write Access By Various Sdk Elements # The Following Settings Will Be Used For Any Bucket Not Specified Below In The "Credentials" Section # ----------------------

    aws {
        s3 {
            # S3 credentials, used for read/write access by various SDK elements

            # The following settings will be used for any bucket not specified below in the "credentials" section
            # ---------------------------------------------------------------------------------------------------
            region: ""
            # Specify explicit keys
            key: ""
            secret: ""
            # Or enable credentials chain to let Boto3 pick the right credentials. 
            # This includes picking credentials from environment variables, 
            # credential file and IAM role using metadata service. 
            # Refer to the latest Boto3 docs
            use_credentials_chain: false
            # Additional ExtraArgs passed to boto3 when uploading files. Can also be set per-bucket under "credentials".
            extra_args: {}
            # ---------------------------------------------------------------------------------------------------


            credentials: [
                 {
                     # This will apply to all buckets in this host (unless key/value is specifically provided for a given bucket)
                     host: "localhost:4566"
					 bucket: "test-bucket"
                     key: "test"
                     secret: "test"
                #     multipart: false
                #     secure: false
                 }
            ]
        }
        boto3 {
            pool_connections: 512
            max_multipart_concurrency: 16
            multipart_threshold: 8388608 # 8MB
            multipart_chunksize: 8388608 # 8MB
        }
    }

I do not see anywhere in the code that yall are reading the credentials information. When the code gets to None the the self._conf and all of its values host, key, secret are empty.

  
  
Posted 12 months ago
Votes Newest

Answers 4


@<1637624992084529152:profile|GlamorousChimpanzee22> using localhost I'm assuming it's minio, is the s3 path you're trying to access something like this: None <some file or dir> ?

  
  
Posted 12 months ago

@<1523701070390366208:profile|CostlyOstrich36> Correct, it doesn’t look like it works. Im struggling to find where the configuration is being read, and I don’t see where it’s being used.

  
  
Posted 12 months ago

It’s localstack, but yes basically.

  
  
Posted 12 months ago

Hi @<1637624992084529152:profile|GlamorousChimpanzee22> , did you test this section and it doesn't work or you just didn't find in the code where it's being read?

  
  
Posted 12 months ago
792 Views
4 Answers
12 months ago
12 months ago
Tags
aws