ts-spiffe
Version:
typescript client for spiffe
16 lines • 1.02 kB
TypeScript
import { JWTBundlesRequest, JWTBundlesResponse, JWTSVIDRequest, JWTSVIDResponse, ValidateJWTSVIDRequest, ValidateJWTSVIDResponse, X509BundlesRequest, X509BundlesResponse, X509SVIDRequest, X509SVIDResponse } from "../proto/public/workload";
import { WorkloadClient } from "./WorkloadClient";
import { WorkloadConfig } from "../config";
export declare class WorkloadSpireClient implements WorkloadClient {
constructor(config: WorkloadConfig);
private config;
private client;
fetchX509SVID(request: X509SVIDRequest): AsyncIterable<X509SVIDResponse>;
fetchX509Bundles(request: X509BundlesRequest): AsyncIterable<X509BundlesResponse>;
fetchJWTSVID(request: JWTSVIDRequest): Promise<JWTSVIDResponse | undefined>;
fetchJWTBundles(request: JWTBundlesRequest): AsyncIterable<JWTBundlesResponse>;
validateJWTSVID(request: ValidateJWTSVIDRequest): Promise<ValidateJWTSVIDResponse | undefined>;
private getGrpcClient;
private getMetaData;
}
//# sourceMappingURL=WorkloadSpireClient.d.ts.map