Check for shared secret in resource
Merge pull request #5 from matt-thomson/issue4

Check for shared secret in resource

Closes #4