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
Hi There, I'M Trying To Set Default Aws Storage Credentials But Keep Getting An Error. I Tried To Fill In The Default Storage As Well As The Bucket Specific Credentials. Note That Adding Config In The "Confuguration Tab" Under User Settings Works Though.

HI there, I'm trying to set default AWS storage credentials but keep getting an error. I tried to fill in the default storage as well as the bucket specific credentials. Note that adding config in the "confuguration tab" under user settings works though.

  • So my question is how to get the AWS storage credentials to work?
  • What exactly is the purpose of this admin setting? (perhaps to set it for every web app user in the workspace?)
    image
  
  
Posted 11 days ago
Votes Newest

Answers 12


Please see the relevant docks. Also for the update failures, can you open Developer tools (F12) and see what you get in the network for the failed API Calls?

  
  
Posted 11 days ago

and the default seems to return the same Validation error

Validation error (error for field 'google': error for field 'credentials_json': ('value is wrong, expected type \"str\"', {})..)",
  
  
Posted 11 days ago

Can you please also add the payload?

  
  
Posted 11 days ago

Hi,

The error indicates that there is a wrong value in the Google Cloud Storage section.
Could you check out whether you see something "weird" in the Google section?

You can also try to fill it with some data and save, it might bypass the issue when you'll save the AWS form.

  
  
Posted 10 days ago

All there is are defaults (same for AWS/GCP/Azure) . When switching between storage providers on the UI it seems that they don't share the state of that "save" button
image

  
  
Posted 10 days ago

CostlyOstrich36 here's the payload (I removed all my data).

{"aws":{"key":"qwe","secret":"","region":"","token":"","use_credentials_chain":false,"buckets":[{"bucket":"","host":"localhost:9000","key":"evg_user","secret":"evg_pass","token":"","secure":false,"region":"","verify":null,"use_credentials_chain":false}]},"google":{"project":null,"credentials_json":{},"buckets":[]},"azure":{"containers":[]}}
  
  
Posted 10 days ago

The empty object in google.credentials_json is the problem . You can clear this field .

  
  
Posted 10 days ago

Is that a bug in the web app then? I'm not going to send this API call manually...

  
  
Posted 10 days ago

Might be a bug .
Can’t you just click on the x to clear the field?

  
  
Posted 10 days ago

Yeah the following seems to work:

  • click on google storage
  • remove the default Credentials JSON in Default credentials
  • save
  • back
  • click on AWS storage
  • fill Bucket specific credentials
  • saveThis is what the payload looks like
{"aws":{"key":"","secret":"","region":"","token":"","use_credentials_chain":false,"buckets":[{"bucket":"","host":"localhost:9000","key":"evg_user","secret":"evg_pass","token":"","secure":false,"region":"","verify":null,"use_credentials_chain":false},{"bucket":"...","host":null,"key":"...","secret":"...","token":"...","secure":true,"region":"...","verify":true,"use_credentials_chain":null}]},"google":{"project":null,"credentials_json":"","buckets":[]},"azure":{"containers":[]}}
  
  
Posted 10 days ago

Thanks for you help

  
  
Posted 10 days ago

Thanks,
I'll check why your default values are wrong.

  
  
Posted 10 days ago