def get_secret_parameters(parameters):
 secret_parameters = [parameter for (parameter, options) in six.iteritems(parameters) if options.get('secret', False)]
 return secret_parameters

def get_secret_parameters ( parameters ) : secret_parameters = [ parameter for ( parameter , options ) in six . iteritems ( parameters ) if options . get ( 'secret' , False ) ] return secret_parameters
filter the provided parameters dict and return a list of parameter names which are marked as secret .