import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to retrieve information about a GitHub Dependabot 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 a repository 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.getDependabotPublicKey({ * repository: "example_repo", * }); * ``` */ export declare function getDependabotPublicKey(args: GetDependabotPublicKeyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDependabotPublicKey. */ export interface GetDependabotPublicKeyArgs { /** * Name of the repository to get public key from. */ repository: string; } /** * A collection of values returned by getDependabotPublicKey. */ export interface GetDependabotPublicKeyResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Actual key retrieved. */ readonly key: string; /** * ID of the key that has been retrieved. */ readonly keyId: string; readonly repository: string; } /** * Use this data source to retrieve information about a GitHub Dependabot 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 a repository 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.getDependabotPublicKey({ * repository: "example_repo", * }); * ``` */ export declare function getDependabotPublicKeyOutput(args: GetDependabotPublicKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDependabotPublicKey. */ export interface GetDependabotPublicKeyOutputArgs { /** * Name of the repository to get public key from. */ repository: pulumi.Input; }