Days
Hours
Minutes
Seconds
x

New Froala Editor v5.0.0 is here โ€“ Learn More

Skip to content
Froala Documentation

Python SDK S3 Reference

getHash (config)

Returns: Dictionary

Method used to compute the hash used by the javascript editor to sign to Amazon S3 when uploading a file.

Parameters:


  • config

    Configuration dictionary for the Amazon S3 signature.

    Type: Dictionary


config parameter:

  • bucket

    The name of your bucket.

    Type: String
  • region

    S3 region. If you are using the default us-east-1, it this can be ignored.

    Type: String
  • keyStart

    The folder where to upload the images.

    Type: String
  • acl

    File access permission. E.g. 'public-read'

    Type: String
  • accessKey

    Your Amazon access key.

    Type: String
  • secretKey

    Your Amazon secret key.

    Type: String

Response

The S3Hash that needs to be passed to the javascript editor if you want to upload an image or a file to Amazon S3.

Do you think we can improve this article? Let us know.

Ready to dive in ? Explore our plans

Sign up

Download the code by signing up for our newsletter

Sign up

Download the code by signing up for our newsletter

Note: By registering, you confirm that you agree to the processing of your personal data by Froala, Inc. - Froala as described in the Privacy Statement. Froala, Inc. - Froala is part of the Idera group and may share your information with its parent company Idera, Inc., and its affiliates. For further details on how your data is used, stored, and shared, please review our Privacy Statement.