import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to retrieve information about a GitHub Actions public key of a specific environment. 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 the action public keys of it's environments. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const example = github.getActionsEnvironmentPublicKey({ * repository: "example_repo", * environment: "example_environment", * }); * ``` */ export declare function getActionsEnvironmentPublicKey(args: GetActionsEnvironmentPublicKeyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getActionsEnvironmentPublicKey. */ export interface GetActionsEnvironmentPublicKeyArgs { /** * Name of the environment to get public key from. */ environment: string; /** * Name of the repository to get public key from. */ repository: string; } /** * A collection of values returned by getActionsEnvironmentPublicKey. */ export interface GetActionsEnvironmentPublicKeyResult { readonly environment: string; /** * 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 Actions public key of a specific environment. 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 the action public keys of it's environments. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const example = github.getActionsEnvironmentPublicKey({ * repository: "example_repo", * environment: "example_environment", * }); * ``` */ export declare function getActionsEnvironmentPublicKeyOutput(args: GetActionsEnvironmentPublicKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getActionsEnvironmentPublicKey. */ export interface GetActionsEnvironmentPublicKeyOutputArgs { /** * Name of the environment to get public key from. */ environment: pulumi.Input; /** * Name of the repository to get public key from. */ repository: pulumi.Input; } //# sourceMappingURL=getActionsEnvironmentPublicKey.d.ts.map