# Telegraf amqp output plugin PLAIN authentication configuration?

**URL:** <https://community.influxdata.com/t/telegraf-amqp-output-plugin-plain-authentication-configuration/3056>\
**Category:** Telegraf\
**Tags:** telegraf\
**Created:** [November 11, 2017, 2:21pm UTC](https://community.influxdata.com/t/telegraf-amqp-output-plugin-plain-authentication-configuration/3056 "2017-11-11T14:21:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mr-f00](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/mr-f00/32/806_2.png) [@mr-f00](https://community.influxdata.com/u/mr-f00)\
**Post date:** [November 11, 2017, 2:21pm UTC](https://community.influxdata.com/t/telegraf-amqp-output-plugin-plain-authentication-configuration/3056/1 "2017-11-11T14:21:22Z")

</div>

Is there a way to specify a username and password in the telegraf amqp output plugin when using the PLAIN auth method?

---

<div class="post-metadata">

**Author:** ![mr-f00](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/mr-f00/32/806_2.png) [@mr-f00](https://community.influxdata.com/u/mr-f00)\
**Post date:** [November 11, 2017, 7:07pm UTC](https://community.influxdata.com/t/telegraf-amqp-output-plugin-plain-authentication-configuration/3056/2 "2017-11-11T19:07:14Z")

</div>

figured it out: set url as follows “amqp://username:password@localhost:5672/vhost”.
