Pass the path to the secret method

Change-Id: Ic2feaedf6278d464a78a75ca12e39a898d91ec4f