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 Auth Tokens in Oracle Cloud Infrastructure Identity service. * * Lists the auth tokens for the specified user. The returned object contains the token's OCID, but not * the token itself. The actual token is returned only upon creation. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAuthTokens = oci.identity.getAuthTokens({ * userId: testUser.id, * }); * ``` */ export declare function getAuthTokens(args: GetAuthTokensArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAuthTokens. */ export interface GetAuthTokensArgs { filters?: inputs.Identity.GetAuthTokensFilter[]; /** * The OCID of the user. */ userId: string; } /** * A collection of values returned by getAuthTokens. */ export interface GetAuthTokensResult { readonly filters?: outputs.Identity.GetAuthTokensFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of tokens. */ readonly tokens: outputs.Identity.GetAuthTokensToken[]; /** * The OCID of the user the auth token belongs to. */ readonly userId: string; } /** * This data source provides the list of Auth Tokens in Oracle Cloud Infrastructure Identity service. * * Lists the auth tokens for the specified user. The returned object contains the token's OCID, but not * the token itself. The actual token is returned only upon creation. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAuthTokens = oci.identity.getAuthTokens({ * userId: testUser.id, * }); * ``` */ export declare function getAuthTokensOutput(args: GetAuthTokensOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAuthTokens. */ export interface GetAuthTokensOutputArgs { filters?: pulumi.Input[] | undefined>; /** * The OCID of the user. */ userId: pulumi.Input; } //# sourceMappingURL=getAuthTokens.d.ts.map