G-Research / consuldotnet

Consul.NET is a .NET client library for the Consul HTTP API
https://consuldot.net/
Apache License 2.0
322 stars 85 forks source link

[FEATURE REQUEST]: Connect Authorize, tests whether a connection attempt is authorized between two services #341

Closed IvanKolchanov closed 3 months ago

IvanKolchanov commented 3 months ago

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

Add support to POST /v1/agent/connect/authorize https://developer.hashicorp.com/consul/api-docs/v1.9.x/agent/connect This endpoint tests whether a connection attempt is authorized between two services This endpoint is supported in Golang client (1.9.17) https://github.com/hashicorp/consul/blob/v1.9.17/api/agent.go#L890

Describe alternatives you've considered

Nothing for the moment

Additional context

Nothing for the moment