Amazon S3 file browser with Angular 8
English | 日本語
Live demo: https://opetools.github.io/s3manager
admin/password
- Supports Cognito or AccessKey authentication
- Display file list in S3 bucket
- Upload / download / delete multiple files
- Shortcut settings
- Create folder
- Create bucket
- Set CORS to operate the bucket from the app
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>HEAD</AllowedMethod>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>PUT</AllowedMethod>
<AllowedMethod>DELETE</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>*</AllowedHeader>
<ExposeHeader>ETag</ExposeHeader>
</CORSRule>
</CORSConfiguration>
(checking)
- Create user pool and ID pool
- Create IAM Role to assign to group
- Create groups and users
git clone https://github.com/opetools/s3manager.git
cd s3manager
- Edit environment file(src/enviroments/)
export const environment = {
production: false,
title: 'S3 Manager',
logins: [
{
type: LOGIN_TYPE.cognito,
name: 'Amazon Cognito',
region: 'ap-northeast-1',
identityPoolId: 'ap-northeast-1:',
userPoolId: 'ap-northeast-1_xxxxx',
userPoolWebClientId: 'xxxxxx',
},
{
type: LOGIN_TYPE.accessKey,
name: 'AWS Access Key',
region: 'ap-northeast-1',
},
],
};
- Run app
npm install
ng serve