import * as pulumi from "@pulumi/pulumi"; /** * Data Source schema for Volcengine::IAM::Accesskey */ export declare function getAccesskey(args: GetAccesskeyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAccesskey. */ export interface GetAccesskeyArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getAccesskey. */ export interface GetAccesskeyResult { /** * Access Key Id. */ readonly accessKeyId: string; /** * Key creation time. The time format is ISO8601. */ readonly createdTime: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Last login time. */ readonly lastLoginDate: string; /** * The last region accessed by the API key. */ readonly region: string; /** * The last time the API key was used. */ readonly requestTime: string; /** * Secret Access Key. */ readonly secretAccessKey: string; /** * The English abbreviation of the last service accessed by the API key. */ readonly service: string; /** * Key status. active means enabled, inactive means disabled. */ readonly status: string; /** * Key update time. The time format is ISO8601. */ readonly updatedTime: string; /** * User name. Used to create a key for the specified IAM user. If no user name is specified, a key is created for the current request identity (that is, if the primary account makes the request, the key is created for the primary account itself; if an IAM user makes the request, the key is created for the IAM user. Note: Roles do not support creating keys for themselves). If the IAM user has the AccessKeySelfManageAccess permission and needs to create a key for themselves, they must include their own UserName in the request. */ readonly userName: string; } /** * Data Source schema for Volcengine::IAM::Accesskey */ export declare function getAccesskeyOutput(args: GetAccesskeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAccesskey. */ export interface GetAccesskeyOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }