rds_ssm_connect 1.8.5 → 1.8.6
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/connect.js +4 -2
- package/package.json +1 -1
package/connect.js
CHANGED
|
@@ -1100,8 +1100,10 @@ async function main() {
|
|
|
1100
1100
|
console.log(` Port: ${portNumber}`)
|
|
1101
1101
|
console.log(` Username: ${CREDENTIALS.username}`)
|
|
1102
1102
|
// Copy password to clipboard without logging it in clear text
|
|
1103
|
-
const
|
|
1104
|
-
|
|
1103
|
+
const pw = CREDENTIALS.password
|
|
1104
|
+
const pwLen = pw.length
|
|
1105
|
+
const copied = copyToClipboard(pw)
|
|
1106
|
+
console.log(` Password: ${'*'.repeat(pwLen)}${copied ? ' (copied to clipboard)' : ''}`)
|
|
1105
1107
|
console.log(` Database: ${projectConfig.database}`)
|
|
1106
1108
|
console.log(`\n⏳ Starting port forwarding...`)
|
|
1107
1109
|
console.log(' Press Ctrl+C to disconnect\n')
|