UNPKG

@vercel/sdk

Version:

<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>

19 lines 1.44 kB
import { VercelCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { GetKmsIssuerRequest, GetKmsIssuerResponseBody } from "../models/getkmsissuerop.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/httpclienterrors.js"; import { ResponseValidationError } from "../models/responsevalidationerror.js"; import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { VercelError } from "../models/vercelerror.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Get an issuer * * @remarks * Retrieve a single KMS issuer by its ID. Accepts either a team bearer token (existing path) or an OIDC token authorized by one of the issuer's policies (e.g. a connex-grant token). The OIDC path returns the issuer without policies, since a policy token only proves signing access, not management access. * * If set, this operation will use {@link Security.bearerToken} from the global security. */ export declare function kmsGetKmsIssuer(client: VercelCore, request: GetKmsIssuerRequest, options?: RequestOptions): APIPromise<Result<GetKmsIssuerResponseBody, VercelError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>; //# sourceMappingURL=kmsGetKmsIssuer.d.ts.map