@pulumi/nomad
Version:
A Pulumi package for creating and managing nomad cloud resources.
48 lines • 1.6 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getJwksOutput = exports.getJwks = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* 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({});
* ```
*/
function getJwks(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("nomad:index/getJwks:getJwks", {}, opts);
}
exports.getJwks = getJwks;
/**
* 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({});
* ```
*/
function getJwksOutput(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("nomad:index/getJwks:getJwks", {}, opts);
}
exports.getJwksOutput = getJwksOutput;
//# sourceMappingURL=getJwks.js.map