Signing container

So all i need is to clone the layer add it to the project and then configure varibales inside local.conf and then inherit the tdx-signed class? if no can you tell me the correct steps