Skip to content

How to get the service's intercepts config via ztx(client edge)? #661

@Alonza0314

Description

@Alonza0314

Hi Ziti Team,

I am currently developing my own client application using this golang sdk. After successfully enrolling an identity and creating a ziti.Context with the identity JSON, I encountered a challenge.

While I am able to retrieve the list of services using ztx.GetServices(), the service details only include the config IDs(like the image below). However, I need to access the full intercept configuration.

image

Based on the OpenZiti documentation, I see that the Management API can be used to retrieve config content. However, my application is designed to function similarly to the desktop-edge-win role, meaning I can only utilize the Client API.

Could you please advise if there is a way to retrieve the intercept configs directly via the Client API? Or is there another recommended approach for achieving this in a client-side application?

Thank you for your guidance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions