Client is a metadata client.
NewClient returns a new metadata client
Authorize request will use the enforcerd databases and context to authorize an http request given the provided credentials.
GetCertificate returns back the certificate.
GetCurrentPolicy returns the current policy of the datapath. It returns the marshalled policy as well as the original object for any farther processing.
GetPrivateKey returns the private key associated with this service.
IssueToken issues an OAUTH token for this PU for the desired audience and validity. The request will use the token issuer to contact the OIDC provider and issue the token.
UpdateSecrets updates the secrets of the client.