import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Api Keys in Oracle Cloud Infrastructure Identity service. * * Lists the API signing keys for the specified user. A user can have a maximum of three keys. * * Every user has permission to use this API call for *their own user ID*. An administrator in your * organization does not need to write a policy to give users this ability. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testApiKeys = oci.identity.getApiKeys({ * userId: testUser.id, * }); * ``` */ export declare function getApiKeys(args: GetApiKeysArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getApiKeys. */ export interface GetApiKeysArgs { filters?: inputs.Identity.GetApiKeysFilter[]; /** * The OCID of the user. */ userId: string; } /** * A collection of values returned by getApiKeys. */ export interface GetApiKeysResult { /** * The list of api_keys. */ readonly apiKeys: outputs.Identity.GetApiKeysApiKey[]; readonly filters?: outputs.Identity.GetApiKeysFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The OCID of the user the key belongs to. */ readonly userId: string; } /** * This data source provides the list of Api Keys in Oracle Cloud Infrastructure Identity service. * * Lists the API signing keys for the specified user. A user can have a maximum of three keys. * * Every user has permission to use this API call for *their own user ID*. An administrator in your * organization does not need to write a policy to give users this ability. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testApiKeys = oci.identity.getApiKeys({ * userId: testUser.id, * }); * ``` */ export declare function getApiKeysOutput(args: GetApiKeysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getApiKeys. */ export interface GetApiKeysOutputArgs { filters?: pulumi.Input[] | undefined>; /** * The OCID of the user. */ userId: pulumi.Input; } //# sourceMappingURL=getApiKeys.d.ts.map