summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhamza alqtaishat <hamalq@verizonmedia.com>2022-04-25 22:02:30 +0000
committerhamza alqtaishat <hamalq@verizonmedia.com>2022-04-25 22:33:12 +0000
commit821197b947393e4f6051e4b45818cc343abf06cc (patch)
treeb3b6563ad94bb7cb4406ff211dfe16bf566cc700
parent723513a9d95b6d7678cc851afdfafba41120693c (diff)
downloadoslo-messaging-821197b947393e4f6051e4b45818cc343abf06cc.tar.gz
Add EXTERNAL as rabbit login method
As explained in the link below kombu has login method called external https://docs.celeryq.dev/projects/kombu/en/latest/_modules/kombu/connection.html The login method external is not listed as a choice in the Rabbit driver As explained in RabbitMQ documention https://www.rabbitmq.com/access-control.html for Authentication using Client TLS (x.509) Certificate Data clients must be configured to use the EXTERNAL mechanism. Closes-Bug: #1970276 Change-Id: I5c38d3a3cafd49f8abc031e36bc595f32a8631d2
-rw-r--r--oslo_messaging/_drivers/impl_rabbit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_messaging/_drivers/impl_rabbit.py b/oslo_messaging/_drivers/impl_rabbit.py
index ae26f3d..d531387 100644
--- a/oslo_messaging/_drivers/impl_rabbit.py
+++ b/oslo_messaging/_drivers/impl_rabbit.py
@@ -108,7 +108,7 @@ rabbit_opts = [
'unavailable. Takes effect only if more than one '
'RabbitMQ node is provided in config.'),
cfg.StrOpt('rabbit_login_method',
- choices=('PLAIN', 'AMQPLAIN', 'RABBIT-CR-DEMO'),
+ choices=('PLAIN', 'AMQPLAIN', 'EXTERNAL', 'RABBIT-CR-DEMO'),
default='AMQPLAIN',
deprecated_group='DEFAULT',
help='The RabbitMQ login method.'),