
listen: localhost:9334

tls {
  cert_file = "./configs/certs/tlsauth/server.pem"
  key_file = "./configs/certs/tlsauth/server-key.pem"
  ca_file = "./configs/certs/tlsauth/ca.pem"
  verify = true
  verify_and_map = true
}

authorization {
  # Default permissions
  permissions {
    publish {
      allow = ["public.>"]
    }
    subscribe {
      allow = ["public.>"]
    }
  }

  users [
    { user = "CN=example.com,OU=NATS.io" }
    { user = "CN=example.com,OU=CNCF", permissions = {
	publish {
	  allow = [">"]
	}
	subscribe {
	  allow = [">"]
	}
      }
    }
  ]
}
