Telegraf amqp output plugin PLAIN authentication configuration?

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

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