@wraps.dev/cli 2.1.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -0
- package/dist/cli.js +700 -437
- package/dist/cli.js.map +1 -1
- package/dist/console/assets/{index-C2_7RIq3.js → index-JCrXm_D5.js} +2 -2
- package/dist/console/index.html +1 -1
- package/dist/lambda/event-processor/.bundled +1 -1
- package/dist/lambda/sms-event-processor/.bundled +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -306,6 +306,42 @@ Interactive wizard allows you to add:
|
|
|
306
306
|
- Required for 50,000+ emails/day
|
|
307
307
|
- Additional AWS charges apply (~$24.95/month)
|
|
308
308
|
|
|
309
|
+
- **SMTP Credentials** - Generate SMTP username/password for legacy systems
|
|
310
|
+
- Works with PHP mail(), PHPMailer, WordPress, Nodemailer, and any SMTP client
|
|
311
|
+
- Creates IAM user with `ses:SendRawEmail` permission (scoped to your config set)
|
|
312
|
+
- Credentials shown once after creation - save them immediately!
|
|
313
|
+
- Supports rotation (invalidates old credentials) and disabling
|
|
314
|
+
- No additional AWS charges (uses existing SES pricing)
|
|
315
|
+
|
|
316
|
+
**SMTP Connection Details:**
|
|
317
|
+
```
|
|
318
|
+
Server: email-smtp.{region}.amazonaws.com
|
|
319
|
+
Port: 587 (STARTTLS) or 465 (TLS)
|
|
320
|
+
Encryption: TLS/STARTTLS required
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
**Example - WordPress (WP Mail SMTP plugin):**
|
|
324
|
+
```
|
|
325
|
+
SMTP Host: email-smtp.us-east-1.amazonaws.com
|
|
326
|
+
SMTP Port: 587
|
|
327
|
+
Encryption: TLS
|
|
328
|
+
SMTP Username: (from wraps email upgrade)
|
|
329
|
+
SMTP Password: (from wraps email upgrade)
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
**Example - Nodemailer:**
|
|
333
|
+
```javascript
|
|
334
|
+
const transporter = nodemailer.createTransport({
|
|
335
|
+
host: 'email-smtp.us-east-1.amazonaws.com',
|
|
336
|
+
port: 587,
|
|
337
|
+
secure: false, // STARTTLS
|
|
338
|
+
auth: {
|
|
339
|
+
user: process.env.SMTP_USER,
|
|
340
|
+
pass: process.env.SMTP_PASS,
|
|
341
|
+
},
|
|
342
|
+
});
|
|
343
|
+
```
|
|
344
|
+
|
|
309
345
|
#### `wraps email restore`
|
|
310
346
|
|
|
311
347
|
Restore infrastructure from saved metadata.
|