Use getSecrets to get magic number