/ppp secret add name="john.doe" password="..." service=pppoe The ... indicates a redacted value. This is intentional—export files may be stored in logs, backups, or transmitted over insecure channels. There is no direct export flag to show passwords. Instead, you must use one of these methods. 1. Using the print Command with detail and without-paging The print command can display passwords in plaintext if the show-sensitive parameter is available (introduced in RouterOS v6.44+). For older versions, you need a different approach.
Introduction MikroTik RouterOS is widely used for PPP (Point-to-Point Protocol) services such as PPPoE, PPTP, L2TP, SSTP, and OpenVPN. The /ppp secret configuration stores user credentials—username and password—for authentication. By default, when you run an export command, passwords are hidden (displayed as password="..." ). This security measure prevents accidental exposure. However, legitimate scenarios (migration, backup automation, auditing) require exporting secrets with plaintext passwords. mikrotik export ppp secrets with password
/ppp secret print detail show-sensitive Or short: /ppp secret add name="john
| Íàøè ôèëèàëû: | Ìîñêâà: +7 (495) 668-07-67 Êðàñíîäàð: +7 (861) 203-38-16 |
Ñàíêò-Ïåòåðáóðã: +7 (800) 777-29-67 Óôà: +7 (800) 777-29-67 |
Êàçàíü: +7 (843) 27-27-050 Åêàòåðèíáóðã: +7 (343) 237-27-11 |
Áåëãîðîä: +7 (4722) 40-23-36 Òþìåíü: +7 (3452) 56-56-35 |