def validate_secrets
      validate_each :secrets do |s|
        secret = self.grid.grid_secrets.find_by(name: s[:secret])
        unless secret
          [:not_found, "Secret #{s[:secret]} does not exist"]
        else
          nil
        end
      end
    end
def validate_secrets
      validate_each :secrets do |s|
        secret = self.grid.grid_secrets.find_by(name: s[:secret])
        unless secret
          [:not_found, "Secret #{s[:secret]} does not exist"]
        else
          nil
        end
      end
    end
Validates that the defined secrets exist