All Products
Search
Document Center

Resource Access Management:GetCredentialReport

Last Updated:May 08, 2024

Queries the user credential reports of an Alibaba Cloud account.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ram:GetCredentialReportRead
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
NextTokenstringNo

The token that is used to initiate the next request if the response of the current request is truncated. You can use the token to initiate another request and obtain the remaining records.``

EXAMPLE
MaxItemsstringNo

The number of entries per page. If a response is truncated because it reaches the value of MaxItems, the value of IsTruncated will be true.

Valid values: 1 to 3501. Default value: 3501.

1000

Response parameters

ParameterTypeDescriptionExample
object
GeneratedTimestring

The time when the user credential report was generated.

2020-10-19T15:06:52Z
RequestIdstring

The request ID.

7A01826E-7601-44B0-B4DF-2B0C509836DE
Contentstring

The content of the user credential report.

The report is Base64-encoded. After you decode the report, the credential report is in the CSV format.

OVZWK4RMOVZW****
IsTruncatedstring

Indicates whether the response is truncated. Valid values:

  • true
  • false
true
NextTokenstring

The parameter that is used to obtain the truncated part. This parameter takes effect only when IsTruncated is set to true.

EXAMPLE

Examples

Sample success responses

JSONformat

{
  "GeneratedTime": "2020-10-19T15:06:52Z",
  "RequestId": "7A01826E-7601-44B0-B4DF-2B0C509836DE",
  "Content": "OVZWK4RMOVZW****",
  "IsTruncated": "true",
  "NextToken": "EXAMPLE"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-09-11The request parameters of the API has changed. The response structure of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: NextToken
    Added Input Parameters: MaxItems
Output ParametersThe response structure of the API has changed.