Adding secrets api support objects

Change-Id: I50f691b94a3cb1e49e91d42da74338c560e8deac
Merge "Adding secrets api support objects"