Fix communication of secret_type info

Change-Id: Ie7d70463e144dfd0c862dc43d7a32e8e8e0d35ea