@gtrevorrow/oci-token-exchange
Version:
OCI Usder Principal Token Exchange for GitHub Actions, GitLab CI, and Bitbucket Pipelines
11 lines (10 loc) • 397 B
TypeScript
import { Platform, PlatformLogger } from "./types";
export declare class GitHubPlatform implements Platform {
private readonly _logger;
getInput(name: string, required?: boolean): string;
setOutput(name: string, value: string): void;
setFailed(message: string): void;
isDebug(): boolean;
getOIDCToken(audience: string): Promise<string>;
get logger(): PlatformLogger;
}