-
Notifications
You must be signed in to change notification settings - Fork 290
Custom Service Endpoint #30
Comments
yes you can create a custom service endpoint using extensions. To do that you will need to add a new contribution that targets ms.vss-endpoint.endpoint-types. Here is an example of chef endpoint type contribution that uses basic authentication:
|
For token based authentication, the autheticationSchemes field will look like:
|
Thank you very much! What does isConfidential property on inputDescriptors do? I'll jump right away on it and check how it works. |
Hi Mario, All the authentication data belonging to an endpoint(i.e all the fields belonging to authentication scheme) are encrypted and persisted using strongbox service. In memory they are represented as strings, values for which are fetched and unencrypted only when required. isConfidential false means that input will be visible after typing, if you set it to true that we will mask the input using ******. For different dataTypes have a look at https://www.visualstudio.com/en-us/integrate/extensions/reference/client/api/vss/common/contracts/forminput/inputdatatype |
Thank you for the detailed answers! |
In case folks come across this Issue first, another Issue exists that discusses consuming Service Connections in a TypeScript extension: #135 |
Hi,
is it possible to create a custom service endpoint type as you have done for Azure, Jenikins, etc.
If so, could you point me to an example code? Also could we ship this new endpoint type via the extension?
Thanks
Mario
The text was updated successfully, but these errors were encountered: