1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. iam
  6. getAccesskey
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine

    Data Source schema for Volcengine::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: volcenginecc: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
    Access Key Id.
    CreatedTime string
    Key creation time. The time format is ISO8601.
    Id string
    Uniquely identifies the resource.
    LastLoginDate string
    Last login time.
    Region string
    The last region accessed by the API key.
    RequestTime string
    The last time the API key was used.
    SecretAccessKey string
    Secret Access Key.
    Service string
    The English abbreviation of the last service accessed by the API key.
    Status string
    Key status. active means enabled, inactive means disabled.
    UpdatedTime string
    Key update time. The time format is ISO8601.
    UserName 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.
    AccessKeyId string
    Access Key Id.
    CreatedTime string
    Key creation time. The time format is ISO8601.
    Id string
    Uniquely identifies the resource.
    LastLoginDate string
    Last login time.
    Region string
    The last region accessed by the API key.
    RequestTime string
    The last time the API key was used.
    SecretAccessKey string
    Secret Access Key.
    Service string
    The English abbreviation of the last service accessed by the API key.
    Status string
    Key status. active means enabled, inactive means disabled.
    UpdatedTime string
    Key update time. The time format is ISO8601.
    UserName 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.
    accessKeyId String
    Access Key Id.
    createdTime String
    Key creation time. The time format is ISO8601.
    id String
    Uniquely identifies the resource.
    lastLoginDate String
    Last login time.
    region String
    The last region accessed by the API key.
    requestTime String
    The last time the API key was used.
    secretAccessKey String
    Secret Access Key.
    service String
    The English abbreviation of the last service accessed by the API key.
    status String
    Key status. active means enabled, inactive means disabled.
    updatedTime String
    Key update time. The time format is ISO8601.
    userName 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.
    accessKeyId string
    Access Key Id.
    createdTime string
    Key creation time. The time format is ISO8601.
    id string
    Uniquely identifies the resource.
    lastLoginDate string
    Last login time.
    region string
    The last region accessed by the API key.
    requestTime string
    The last time the API key was used.
    secretAccessKey string
    Secret Access Key.
    service string
    The English abbreviation of the last service accessed by the API key.
    status string
    Key status. active means enabled, inactive means disabled.
    updatedTime string
    Key update time. The time format is ISO8601.
    userName 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.
    access_key_id str
    Access Key Id.
    created_time str
    Key creation time. The time format is ISO8601.
    id str
    Uniquely identifies the resource.
    last_login_date str
    Last login time.
    region str
    The last region accessed by the API key.
    request_time str
    The last time the API key was used.
    secret_access_key str
    Secret Access Key.
    service str
    The English abbreviation of the last service accessed by the API key.
    status str
    Key status. active means enabled, inactive means disabled.
    updated_time str
    Key update time. The time format is ISO8601.
    user_name str
    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.
    accessKeyId String
    Access Key Id.
    createdTime String
    Key creation time. The time format is ISO8601.
    id String
    Uniquely identifies the resource.
    lastLoginDate String
    Last login time.
    region String
    The last region accessed by the API key.
    requestTime String
    The last time the API key was used.
    secretAccessKey String
    Secret Access Key.
    service String
    The English abbreviation of the last service accessed by the API key.
    status String
    Key status. active means enabled, inactive means disabled.
    updatedTime String
    Key update time. The time format is ISO8601.
    userName 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.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.