Froala Editor 3 is here!

.NET SDK S3 Reference

getHash (config)

Returns: Dictionary < string, object>

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

Parameters:


  • config

    Configuration object for the Amazon S3 signature.

    Type: Object


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.