1. Packages
  2. Packages
  3. Bytepluscc Provider
  4. API Docs
  5. iam
  6. getAccesskey
Viewing docs for bytepluscc v0.0.25
published on Thursday, May 7, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.25
published on Thursday, May 7, 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: pulumi.Input[Optional[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
    Key ID (Access Key Id)
    CreatedTime string
    Key creation time (ISO8601 format)
    Id string
    Uniquely identifies the resource.
    LastLoginDate string
    Last login time
    Region string
    Last accessed region by the API key
    RequestTime string
    Last usage time of the API key
    SecretAccessKey string
    Secret Access Key
    Service string
    English abbreviation of the last accessed service by the API key
    Status string
    Key status. "active" means enabled, "inactive" means disabled
    UpdatedTime string
    Key update time (ISO8601 format)
    UserName string
    User name. Used to create a key for a specified IAM user. If no user name is specified, the key is created for the current request identity (that is, if the main account requests, the key is created for the main account; if an IAM user requests, the key is created for that IAM user. Note: Roles cannot create keys for themselves). When an IAM user has the AccessKeySelfManageAccess permission, to create a key for themselves, they must include their own UserName in the request
    AccessKeyId string
    Key ID (Access Key Id)
    CreatedTime string
    Key creation time (ISO8601 format)
    Id string
    Uniquely identifies the resource.
    LastLoginDate string
    Last login time
    Region string
    Last accessed region by the API key
    RequestTime string
    Last usage time of the API key
    SecretAccessKey string
    Secret Access Key
    Service string
    English abbreviation of the last accessed service by the API key
    Status string
    Key status. "active" means enabled, "inactive" means disabled
    UpdatedTime string
    Key update time (ISO8601 format)
    UserName string
    User name. Used to create a key for a specified IAM user. If no user name is specified, the key is created for the current request identity (that is, if the main account requests, the key is created for the main account; if an IAM user requests, the key is created for that IAM user. Note: Roles cannot create keys for themselves). When an IAM user has the AccessKeySelfManageAccess permission, to create a key for themselves, they must include their own UserName in the request
    accessKeyId String
    Key ID (Access Key Id)
    createdTime String
    Key creation time (ISO8601 format)
    id String
    Uniquely identifies the resource.
    lastLoginDate String
    Last login time
    region String
    Last accessed region by the API key
    requestTime String
    Last usage time of the API key
    secretAccessKey String
    Secret Access Key
    service String
    English abbreviation of the last accessed service by the API key
    status String
    Key status. "active" means enabled, "inactive" means disabled
    updatedTime String
    Key update time (ISO8601 format)
    userName String
    User name. Used to create a key for a specified IAM user. If no user name is specified, the key is created for the current request identity (that is, if the main account requests, the key is created for the main account; if an IAM user requests, the key is created for that IAM user. Note: Roles cannot create keys for themselves). When an IAM user has the AccessKeySelfManageAccess permission, to create a key for themselves, they must include their own UserName in the request
    accessKeyId string
    Key ID (Access Key Id)
    createdTime string
    Key creation time (ISO8601 format)
    id string
    Uniquely identifies the resource.
    lastLoginDate string
    Last login time
    region string
    Last accessed region by the API key
    requestTime string
    Last usage time of the API key
    secretAccessKey string
    Secret Access Key
    service string
    English abbreviation of the last accessed service by the API key
    status string
    Key status. "active" means enabled, "inactive" means disabled
    updatedTime string
    Key update time (ISO8601 format)
    userName string
    User name. Used to create a key for a specified IAM user. If no user name is specified, the key is created for the current request identity (that is, if the main account requests, the key is created for the main account; if an IAM user requests, the key is created for that IAM user. Note: Roles cannot create keys for themselves). When an IAM user has the AccessKeySelfManageAccess permission, to create a key for themselves, they must include their own UserName in the request
    access_key_id str
    Key ID (Access Key Id)
    created_time str
    Key creation time (ISO8601 format)
    id str
    Uniquely identifies the resource.
    last_login_date str
    Last login time
    region str
    Last accessed region by the API key
    request_time str
    Last usage time of the API key
    secret_access_key str
    Secret Access Key
    service str
    English abbreviation of the last accessed service by the API key
    status str
    Key status. "active" means enabled, "inactive" means disabled
    updated_time str
    Key update time (ISO8601 format)
    user_name str
    User name. Used to create a key for a specified IAM user. If no user name is specified, the key is created for the current request identity (that is, if the main account requests, the key is created for the main account; if an IAM user requests, the key is created for that IAM user. Note: Roles cannot create keys for themselves). When an IAM user has the AccessKeySelfManageAccess permission, to create a key for themselves, they must include their own UserName in the request
    accessKeyId String
    Key ID (Access Key Id)
    createdTime String
    Key creation time (ISO8601 format)
    id String
    Uniquely identifies the resource.
    lastLoginDate String
    Last login time
    region String
    Last accessed region by the API key
    requestTime String
    Last usage time of the API key
    secretAccessKey String
    Secret Access Key
    service String
    English abbreviation of the last accessed service by the API key
    status String
    Key status. "active" means enabled, "inactive" means disabled
    updatedTime String
    Key update time (ISO8601 format)
    userName String
    User name. Used to create a key for a specified IAM user. If no user name is specified, the key is created for the current request identity (that is, if the main account requests, the key is created for the main account; if an IAM user requests, the key is created for that IAM user. Note: Roles cannot create keys for themselves). When an IAM user has the AccessKeySelfManageAccess permission, to create a key for themselves, they must include their own UserName in the request

    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.25
    published on Thursday, May 7, 2026 by Byteplus
      Try Pulumi Cloud free. Your team will thank you.