Mask simpletype field in clispec for password

i want to mask a field which is simpletype which receive password in clispec
please suggest a way.

You can use the YANG annotation of “tailf:suppress-echo true;” in your data model for the corresponding leaf definition.

cant we have that for simpleType from clispec???

As described in the clisepc section (Vol. 5 of ConfD man-pages) of the ConfD User Guide, you can only customize handling of the simpleType as defined in clispec on CLI completion. The tailf:suppress-echo feature is defined on a per leaf node basis and needs to be done within the YANG model.