# Cluster Server A with Permissions

listen: 127.0.0.1:5222
http: 127.0.0.1:5223

cluster {
  listen: 127.0.0.1:5244

  authorization {
    user: ruser
    password: top_secret
    timeout: 0.5
  }

  permissions {
    import: "foo"
    export: {
      allow: "*"
      deny: ["foo", "nats"]
    }
  }

  # Routes are actively solicited and connected to from this server.
  # Other servers can connect to us if they supply the correct credentials
  # in their routes definitions from above.

  routes = [
    nats-route://ruser:top_secret@127.0.0.1:5246
  ]
}
