选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

GetCredentialReport

聚焦模式
GetCredentialReport - AWS Identity and Access Management
此页面尚未翻译为您的语言。 请求翻译

Retrieves a credential report for the AWS account. For more information about the credential report, see Getting credential reports in the IAM User Guide.

Response Elements

The following elements are returned by the service.

Content

Contains the credential report. The report is Base64-encoded.

Type: Base64-encoded binary data object

GeneratedTime

The date and time when the credential report was created, in ISO 8601 date-time format.

Type: Timestamp

ReportFormat

The format (MIME type) of the credential report.

Type: String

Valid Values: text/csv

Errors

For information about the errors that are common to all actions, see Common Errors.

ReportExpired

The request was rejected because the most recent credential report has expired. To generate a new credential report, use GenerateCredentialReport. For more information about credential report expiration, see Getting credential reports in the IAM User Guide.

HTTP Status Code: 410

ReportInProgress

The request was rejected because the credential report is still being generated.

HTTP Status Code: 404

ReportNotPresent

The request was rejected because the credential report does not exist. To generate a credential report, use GenerateCredentialReport.

HTTP Status Code: 410

ServiceFailure

The request processing has failed because of an unknown error, exception or failure.

HTTP Status Code: 500

Examples

Example

This example illustrates one usage of GetCredentialReport.

Sample Request

https://iam.amazonaws.com/?Action=GetCredentialReport &Version=2010-05-08 &AUTHPARAMS

Sample Response

<GetCredentialReportResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/"> <GetCredentialReportResult> <Content>BASE-64 ENCODED FILE CONTENTS</Content> <ReportFormat>text/csv</ReportFormat> <GeneratedTime>2014-08-28T21:42:50Z</GeneratedTime> </GetCredentialReportResult> <ResponseMetadata> <RequestId>29f47818-99f5-11e1-a4c3-27EXAMPLE804</RequestId> </ResponseMetadata> </GetCredentialReportResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

本页内容

隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。