1. Packages
  2. Bytepluscc Provider
  3. API Docs
  4. iam
  5. getAccesskey
Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus

    Data Source schema for Byteplus::IAM::AccessKey

    Using getAccesskey

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAccesskey(args: GetAccesskeyArgs, opts?: InvokeOptions): Promise<GetAccesskeyResult>
    function getAccesskeyOutput(args: GetAccesskeyOutputArgs, opts?: InvokeOptions): Output<GetAccesskeyResult>
    def get_accesskey(id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetAccesskeyResult
    def get_accesskey_output(id: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetAccesskeyResult]
    func LookupAccesskey(ctx *Context, args *LookupAccesskeyArgs, opts ...InvokeOption) (*LookupAccesskeyResult, error)
    func LookupAccesskeyOutput(ctx *Context, args *LookupAccesskeyOutputArgs, opts ...InvokeOption) LookupAccesskeyResultOutput

    > Note: This function is named LookupAccesskey in the Go SDK.

    public static class GetAccesskey 
    {
        public static Task<GetAccesskeyResult> InvokeAsync(GetAccesskeyArgs args, InvokeOptions? opts = null)
        public static Output<GetAccesskeyResult> Invoke(GetAccesskeyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAccesskeyResult> getAccesskey(GetAccesskeyArgs args, InvokeOptions options)
    public static Output<GetAccesskeyResult> getAccesskey(GetAccesskeyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: bytepluscc:iam/getAccesskey:getAccesskey
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getAccesskey Result

    The following output properties are available:

    AccessKeyId string
    密钥ID(Access Key Id)。
    CreatedTime string
    密钥创建时间。时间格式为ISO8601。
    Id string
    Uniquely identifies the resource.
    LastLoginDate string
    最后登录时间。
    Region string
    API密钥最后访问的地域。
    RequestTime string
    API密钥的最后使用的时间。
    SecretAccessKey string
    私有密钥(Secret Access Key)。
    Service string
    API密钥最后访问的服务的英文简称。
    Status string
    密钥状态。active代表启用状态,inactive代表禁用状态。
    UpdatedTime string
    密钥更新时间。时间格式为ISO8601。
    UserName string
    用户名。用于给指定的IAM用户创建密钥,未指定用户名时则为当前请求身份创建密钥(即主账号请求时为主账号自身创建密钥,IAM用户请求时为IAM用户自身创建密钥。注意:角色不支持为自身创建密钥)。当IAM用户拥有密钥自管理权限时(AccessKeySelfManageAccess),如需为自身创建密钥则需要在请求中传递自身的UserName。
    AccessKeyId string
    密钥ID(Access Key Id)。
    CreatedTime string
    密钥创建时间。时间格式为ISO8601。
    Id string
    Uniquely identifies the resource.
    LastLoginDate string
    最后登录时间。
    Region string
    API密钥最后访问的地域。
    RequestTime string
    API密钥的最后使用的时间。
    SecretAccessKey string
    私有密钥(Secret Access Key)。
    Service string
    API密钥最后访问的服务的英文简称。
    Status string
    密钥状态。active代表启用状态,inactive代表禁用状态。
    UpdatedTime string
    密钥更新时间。时间格式为ISO8601。
    UserName string
    用户名。用于给指定的IAM用户创建密钥,未指定用户名时则为当前请求身份创建密钥(即主账号请求时为主账号自身创建密钥,IAM用户请求时为IAM用户自身创建密钥。注意:角色不支持为自身创建密钥)。当IAM用户拥有密钥自管理权限时(AccessKeySelfManageAccess),如需为自身创建密钥则需要在请求中传递自身的UserName。
    accessKeyId String
    密钥ID(Access Key Id)。
    createdTime String
    密钥创建时间。时间格式为ISO8601。
    id String
    Uniquely identifies the resource.
    lastLoginDate String
    最后登录时间。
    region String
    API密钥最后访问的地域。
    requestTime String
    API密钥的最后使用的时间。
    secretAccessKey String
    私有密钥(Secret Access Key)。
    service String
    API密钥最后访问的服务的英文简称。
    status String
    密钥状态。active代表启用状态,inactive代表禁用状态。
    updatedTime String
    密钥更新时间。时间格式为ISO8601。
    userName String
    用户名。用于给指定的IAM用户创建密钥,未指定用户名时则为当前请求身份创建密钥(即主账号请求时为主账号自身创建密钥,IAM用户请求时为IAM用户自身创建密钥。注意:角色不支持为自身创建密钥)。当IAM用户拥有密钥自管理权限时(AccessKeySelfManageAccess),如需为自身创建密钥则需要在请求中传递自身的UserName。
    accessKeyId string
    密钥ID(Access Key Id)。
    createdTime string
    密钥创建时间。时间格式为ISO8601。
    id string
    Uniquely identifies the resource.
    lastLoginDate string
    最后登录时间。
    region string
    API密钥最后访问的地域。
    requestTime string
    API密钥的最后使用的时间。
    secretAccessKey string
    私有密钥(Secret Access Key)。
    service string
    API密钥最后访问的服务的英文简称。
    status string
    密钥状态。active代表启用状态,inactive代表禁用状态。
    updatedTime string
    密钥更新时间。时间格式为ISO8601。
    userName string
    用户名。用于给指定的IAM用户创建密钥,未指定用户名时则为当前请求身份创建密钥(即主账号请求时为主账号自身创建密钥,IAM用户请求时为IAM用户自身创建密钥。注意:角色不支持为自身创建密钥)。当IAM用户拥有密钥自管理权限时(AccessKeySelfManageAccess),如需为自身创建密钥则需要在请求中传递自身的UserName。
    access_key_id str
    密钥ID(Access Key Id)。
    created_time str
    密钥创建时间。时间格式为ISO8601。
    id str
    Uniquely identifies the resource.
    last_login_date str
    最后登录时间。
    region str
    API密钥最后访问的地域。
    request_time str
    API密钥的最后使用的时间。
    secret_access_key str
    私有密钥(Secret Access Key)。
    service str
    API密钥最后访问的服务的英文简称。
    status str
    密钥状态。active代表启用状态,inactive代表禁用状态。
    updated_time str
    密钥更新时间。时间格式为ISO8601。
    user_name str
    用户名。用于给指定的IAM用户创建密钥,未指定用户名时则为当前请求身份创建密钥(即主账号请求时为主账号自身创建密钥,IAM用户请求时为IAM用户自身创建密钥。注意:角色不支持为自身创建密钥)。当IAM用户拥有密钥自管理权限时(AccessKeySelfManageAccess),如需为自身创建密钥则需要在请求中传递自身的UserName。
    accessKeyId String
    密钥ID(Access Key Id)。
    createdTime String
    密钥创建时间。时间格式为ISO8601。
    id String
    Uniquely identifies the resource.
    lastLoginDate String
    最后登录时间。
    region String
    API密钥最后访问的地域。
    requestTime String
    API密钥的最后使用的时间。
    secretAccessKey String
    私有密钥(Secret Access Key)。
    service String
    API密钥最后访问的服务的英文简称。
    status String
    密钥状态。active代表启用状态,inactive代表禁用状态。
    updatedTime String
    密钥更新时间。时间格式为ISO8601。
    userName String
    用户名。用于给指定的IAM用户创建密钥,未指定用户名时则为当前请求身份创建密钥(即主账号请求时为主账号自身创建密钥,IAM用户请求时为IAM用户自身创建密钥。注意:角色不支持为自身创建密钥)。当IAM用户拥有密钥自管理权限时(AccessKeySelfManageAccess),如需为自身创建密钥则需要在请求中传递自身的UserName。

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.16
    published on Monday, Mar 9, 2026 by Byteplus
      Try Pulumi Cloud free. Your team will thank you.