Fixed issue with secret key access

Change-Id: I6f1c508cf1337e8fb3202fb2d5b55f804924bdd3