return undefined if secret is not given
0.0.1