Delete a file from apps directory in legato

is it possible to remove the file which is stored with bundle while building the app?

I have encrypted the file using le_secStore and no longer want it in app directory.

bundles:

{

file:

{

    

    [r] Assets/ca.pem         /User_sensitive/ca.pem

    [r] Assets/client.crt     /User_sensitive/client.crt

}

}

can you delete it in the console of linux by “rm” command?

No I actually want my app to delete the bundled file during runtime after encryption . but I am not able to do it. do you know if it is possible to remove the bundled file after use by app?

If you can delete it in the console of linux by “rm” command, then you can create an unsandboxed application and delete it by system() api

Your current application also needs to communicate with this unsandboxed application by IPC