Skip to content

The amazon_cognito_upload is a Dart library designed to simplify and streamline the process of uploading files to Amazon Cognito

License

Notifications You must be signed in to change notification settings

jaiminraval274/amazon_cognito_upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

amazon_cognito_upload

The amazon_cognito_upload package is a Dart library designed to simplify and streamline the process of uploading files to Amazon Cognito, a robust and secure cloud service offered by Amazon Web Services (AWS). This package is particularly useful for those who need to integrate file upload functionality with Amazon Cognito authentication.

Features

  • Simplified File Uploads: Streamline the process of uploading files to Amazon Cognito, reducing development time and complexity.
  • Customizable Configuration: Tailor the package to meet your specific requirements with customizable configuration options.

Getting started

Install

Add the amazon_cognito_upload package to your pubspec dependencies.

Super simple to use

import 'package:amazon_cognito_upload/amazon_cognito_upload.dart';

void uploadFile() {
  AWSWebClient.uploadFile(
    s3UploadUrl: '', //s3 bucket url like : https://yourBucketName.s3.region.amazonaws.com/
    s3SecretKey: '',
    s3Region: '',
    s3AccessKey: '',
    s3BucketName: '',
    folderName: '',
    fileName: '',
    fileBytes: '',
  );
}

Important

Remember that enabling CORS for public access temporary when you upload file to S3 bucket. the security implications of allowing cross-origin requests. Make sure to only allow the origins that you trust.

Support me to grow for better work

Buy Me A Coffee

About

The amazon_cognito_upload is a Dart library designed to simplify and streamline the process of uploading files to Amazon Cognito

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages