efa notification subscribers add-https

Registers a new subscriber to the notification service with an HTTPS webhook.

Syntax

efa notification subscribers add-https --url address --username name --password password --insecure

Parameters

--url address
Specifies the URL of the subscriber.
--username name
Specifies the user name for access to the URL.
--password password
Specifies the password for the user name.
--insecure
(Optional) Indicates that insecure SSL connection and transfers are used for sending notifications. By default, the SSL connection and transfers are secure.

Example

The following example registers a new HTTPS webhook subscriber to the Notification Service.

efa notification subscribers add-https --url https://path/to/my/service:port 
--username myusername --password mypassword --insecure
Successfully registered subscriber.

+-----------+-----------------------------------------------------------------------+
| attribute | value                                                                 |
+-----------+-----------------------------------------------------------------------+
| id        | 1                                                                     |
+-----------+-----------------------------------------------------------------------+
| handler   | http                                                                  |
+-----------+-----------------------------------------------------------------------+
| endpoint  | https://path/to/my/service:port                                     |
+-----------+-----------------------------------------------------------------------+
| config    | {"cacert":"","insecure":true,"password":"mypassword",
              "username":"myusername"}                                              |
+-----------+-----------------------------------------------------------------------+
Notification Subscriber ID=1
--- Time Elapsed: 2.203878641s ---