
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
Integrates S3 with Nest
npm install nestjs-s3 @aws-sdk/client-s3
You can also use the interactive CLI
npx nestjs-modules
docker run \
-p 9000:9000 \
-e MINIO_ACCESS_KEY=minio \
-e MINIO_SECRET_KEY=password \
minio/minio server /data
import { Module } from '@nestjs/common';
import { S3Module } from 'nestjs-s3';
import { AppController } from './app.controller';
@Module({
imports: [
S3Module.forRoot({
config: {
credentials: {
accessKeyId: 'minio',
secretAccessKey: 'password',
},
// region: 'us-east-1',
endpoint: 'http://127.0.0.1:9000',
forcePathStyle: true,
signatureVersion: 'v4',
},
}),
],
controllers: [AppController],
})
export class AppModule {}
import { Module } from '@nestjs/common';
import { S3Module } from 'nestjs-s3';
import { AppController } from './app.controller';
@Module({
imports: [
S3Module.forRootAsync({
useFactory: () => ({
config: {
credentials: {
accessKeyId: 'minio',
secretAccessKey: 'password',
},
// region: 'us-east-1',
endpoint: 'http://localhost:9000',
forcePathStyle: true,
signatureVersion: 'v4',
},
}),
}),
],
controllers: [AppController],
})
export class AppModule {}
import { Controller, Get, } from '@nestjs/common';
import { InjectS3, S3 } from 'nestjs-s3';
@Controller()
export class AppController {
constructor(
@InjectS3() private readonly s3: S3,
) {}
@Get()
async listBuckets() {
try {
await this.s3.createBucket({ Bucket: 'bucket' });
} catch (e) {}
try {
// this.s3.send(new ListBucketsCommand({}))
const list = await this.s3.listBuckets({});
return list.Buckets;
} catch (e) {
console.log(e);
}
}
}
MIT
FAQs
Nest - modern, fast, powerful node.js web framework (@s3)
We found that nestjs-s3 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.