Why does the leaf defined with "tailf:suppress-echo true" still be printed in cli?

I have defined a leaf (which is password) with “tailf:suppress-echo true”.
But when I set the value of it and try to show it in cli, I can still see it be printed in CLI as the original string instead of mask.
Any reason why “tailf:suppress-echo” doesn’t work as expect?


The text is hidden with *** when you type it in when using the tailf:suppress-echo statement. All in accordance with the tailf_yang_extensions documentation. When reading you either need to encrypt it or use NACM to prevent users from reading it.