<p>i am trying to use rabbitMQ Topology Operator to manage a rabbitMQ cluster running on kubernetes.</p>
<p>As a setup i have deployed rabbitmq-cluster-operator to create cluster and enabled necessary plugins like the management plugin.</p>
<p>Next i deployed rabbitmq-topology operator in same namespace.</p>
<p>After definining some infrastructur for topology oeprator eg an Exchange the topology operator just logs ERRORs when trying to create the exchange</p>
<p>&quot;Error: API responded with a 401 Unauthorized&quot;</p>
<p>Seems like the topology operator can not authorize against the management api.</p>
<p>I followed instructions to install the operator here
<a href="https://www.rabbitmq.com/kubernetes/operator/using-topology-operator.html" rel="nofollow noreferrer">https://www.rabbitmq.com/kubernetes/operator/using-topology-operator.html</a></p>
<p>Iam wondering if a have to configure a user for the topology operator to authorize against the management api?</p>

KleeKK
<p>The Topology Operator is using the &quot;{RabbitClusterName}-default-user&quot; secret and the RabbitMQ Cluster Operator is generating a random default username/password pair when it creates the cluster.</p>
<p>I had the same problem because I overwrote the default user and password in aditionalConfig and the one created by the operator didn't work anymore.</p>
<p>Make sure that the user from the {RabbitClusterName}-default-user secret works with the management api. It should be in the same namespace as the cluster.</p>
