import * as pulumi from "@pulumi/pulumi";
/**
 * Use this data source to access information about an existing Key Vault Key.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = azure.keyvault.getKey({
 *     name: "secret-sauce",
 *     keyVaultId: existing.id,
 * });
 * export const keyType = example.then(example => example.keyType);
 * ```
 */
export declare function getKey(args: GetKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetKeyResult>;
/**
 * A collection of arguments for invoking getKey.
 */
export interface GetKeyArgs {
    /**
     * Specifies the ID of the Key Vault instance where the Secret resides, available on the `azure.keyvault.KeyVault` Data Source / Resource.
     *
     * > **Note:** The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription.
     */
    keyVaultId: string;
    /**
     * Specifies the name of the Key Vault Key.
     */
    name: string;
}
/**
 * A collection of values returned by getKey.
 */
export interface GetKeyResult {
    /**
     * The EC Curve name of this Key Vault Key.
     */
    readonly curve: string;
    /**
     * The RSA public exponent of this Key Vault Key.
     */
    readonly e: string;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * A list of JSON web key operations assigned to this Key Vault Key
     */
    readonly keyOpts: string[];
    /**
     * Specifies the Size of this Key Vault Key.
     */
    readonly keySize: number;
    /**
     * Specifies the Key Type of this Key Vault Key
     */
    readonly keyType: string;
    readonly keyVaultId: string;
    /**
     * The RSA modulus of this Key Vault Key.
     */
    readonly n: string;
    readonly name: string;
    /**
     * The OpenSSH encoded public key of this Key Vault Key.
     */
    readonly publicKeyOpenssh: string;
    /**
     * The PEM encoded public key of this Key Vault Key.
     */
    readonly publicKeyPem: string;
    /**
     * The (Versioned) ID for this Key Vault Key. This property points to a specific version of a Key Vault Key, as such using this won't auto-rotate values if used in other Azure Services.
     */
    readonly resourceId: string;
    /**
     * The Versionless ID of the Key Vault Key. This property allows other Azure Services (that support it) to auto-rotate their value when the Key Vault Key is updated.
     */
    readonly resourceVersionlessId: string;
    /**
     * A mapping of tags assigned to this Key Vault Key.
     */
    readonly tags: {
        [key: string]: string;
    };
    /**
     * The current version of the Key Vault Key.
     */
    readonly version: string;
    /**
     * The Base ID of the Key Vault Key.
     */
    readonly versionlessId: string;
    /**
     * The EC X component of this Key Vault Key.
     */
    readonly x: string;
    /**
     * The EC Y component of this Key Vault Key.
     */
    readonly y: string;
}
/**
 * Use this data source to access information about an existing Key Vault Key.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = azure.keyvault.getKey({
 *     name: "secret-sauce",
 *     keyVaultId: existing.id,
 * });
 * export const keyType = example.then(example => example.keyType);
 * ```
 */
export declare function getKeyOutput(args: GetKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetKeyResult>;
/**
 * A collection of arguments for invoking getKey.
 */
export interface GetKeyOutputArgs {
    /**
     * Specifies the ID of the Key Vault instance where the Secret resides, available on the `azure.keyvault.KeyVault` Data Source / Resource.
     *
     * > **Note:** The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription.
     */
    keyVaultId: pulumi.Input<string>;
    /**
     * Specifies the name of the Key Vault Key.
     */
    name: pulumi.Input<string>;
}
//# sourceMappingURL=getKey.d.ts.map