import * as pulumi from "@pulumi/pulumi";
/**
 * Gets information about an existing IAM API key. For more information, refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#api-keys-3665ae).
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as scaleway from "@pulumi/scaleway";
 *
 * // Get api key infos by id (access_key)
 * const main = scaleway.iam.getApiKey({
 *     accessKey: "SCWABCDEFGHIJKLMNOPQ",
 * });
 * ```
 */
/** @deprecated scaleway.index/getiamapikey.getIamApiKey has been deprecated in favor of scaleway.iam/getapikey.getApiKey */
export declare function getIamApiKey(args: GetIamApiKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetIamApiKeyResult>;
/**
 * A collection of arguments for invoking getIamApiKey.
 */
export interface GetIamApiKeyArgs {
    /**
     * The access key of the IAM API key which is also the ID of the API key.
     */
    accessKey: string;
}
/**
 * A collection of values returned by getIamApiKey.
 */
export interface GetIamApiKeyResult {
    readonly accessKey: string;
    readonly applicationId: string;
    readonly createdAt: string;
    readonly creationIp: string;
    readonly defaultProjectId: string;
    readonly description: string;
    readonly editable: boolean;
    readonly expiresAt: string;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly updatedAt: string;
    readonly userId: string;
}
/**
 * Gets information about an existing IAM API key. For more information, refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#api-keys-3665ae).
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as scaleway from "@pulumi/scaleway";
 *
 * // Get api key infos by id (access_key)
 * const main = scaleway.iam.getApiKey({
 *     accessKey: "SCWABCDEFGHIJKLMNOPQ",
 * });
 * ```
 */
/** @deprecated scaleway.index/getiamapikey.getIamApiKey has been deprecated in favor of scaleway.iam/getapikey.getApiKey */
export declare function getIamApiKeyOutput(args: GetIamApiKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIamApiKeyResult>;
/**
 * A collection of arguments for invoking getIamApiKey.
 */
export interface GetIamApiKeyOutputArgs {
    /**
     * The access key of the IAM API key which is also the ID of the API key.
     */
    accessKey: pulumi.Input<string>;
}
