UNPKG

@pulumi/nomad

Version:

A Pulumi package for creating and managing nomad cloud resources.

53 lines (52 loc) 1.57 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Retrieve the cluster JWKS public keys. * * The keys are returned both as a list of maps (`keys`), and as a list of PEM-encoded strings * (`pemKeys`), which may be more convenient for use. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nomad from "@pulumi/nomad"; * * const example = nomad.getJwks({}); * ``` */ export declare function getJwks(opts?: pulumi.InvokeOptions): Promise<GetJwksResult>; /** * A collection of values returned by getJwks. */ export interface GetJwksResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * `list of maps` a list of JWK keys in structured format: see [RFC7517](https://datatracker.ietf.org/doc/html/rfc7517) for the * JWK field meanings. */ readonly keys: outputs.GetJwksKey[]; /** * `list of strings` a list JWK keys rendered as PEM-encoded X.509 keys */ readonly pemKeys: string[]; } /** * Retrieve the cluster JWKS public keys. * * The keys are returned both as a list of maps (`keys`), and as a list of PEM-encoded strings * (`pemKeys`), which may be more convenient for use. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nomad from "@pulumi/nomad"; * * const example = nomad.getJwks({}); * ``` */ export declare function getJwksOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetJwksResult>;