I am trying to hide the password leaf in show of a container configuraton.
Is there another way than NACM.
You have other options, depending on what you mean by “hide”: you can use one of built-in types that encrypt or hash the value, see confd_types man page; something like this is recommended anyway so that the password is not stored in cleartext. Or you can hide the leaf from some or all northbound interfaces, see the section “Hidden Data” in the ConfD documentation.