@pulumi/github
Version:
A Pulumi package for creating and managing github cloud resources.
44 lines • 2.21 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.getDependabotOrganizationPublicKeyOutput = exports.getDependabotOrganizationPublicKey = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Use this data source to retrieve information about a GitHub Dependabot Organization public key. This data source is required to be used with other GitHub secrets interactions.
* Note that the provider `token` must have admin rights to an organization to retrieve it's Dependabot public key.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as github from "@pulumi/github";
*
* const example = github.getDependabotOrganizationPublicKey({});
* ```
*/
function getDependabotOrganizationPublicKey(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("github:index/getDependabotOrganizationPublicKey:getDependabotOrganizationPublicKey", {}, opts);
}
exports.getDependabotOrganizationPublicKey = getDependabotOrganizationPublicKey;
/**
* Use this data source to retrieve information about a GitHub Dependabot Organization public key. This data source is required to be used with other GitHub secrets interactions.
* Note that the provider `token` must have admin rights to an organization to retrieve it's Dependabot public key.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as github from "@pulumi/github";
*
* const example = github.getDependabotOrganizationPublicKey({});
* ```
*/
function getDependabotOrganizationPublicKeyOutput(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("github:index/getDependabotOrganizationPublicKey:getDependabotOrganizationPublicKey", {}, opts);
}
exports.getDependabotOrganizationPublicKeyOutput = getDependabotOrganizationPublicKeyOutput;
//# sourceMappingURL=getDependabotOrganizationPublicKey.js.map
;