cast secret_key to a string since YAML may try to parse it