credential_reports
Creates, updates, deletes, gets or lists a credential_reports resource.
Overview
| Name | credential_reports |
| Type | Resource |
| Id | aws.iam.credential_reports |
Fields
The following fields are returned by SELECT queries:
- get_credential_report
| Name | Datatype | Description |
|---|---|---|
content | string | Contains the credential report. The report is Base64-encoded. |
generated_time | string | The date and time when the credential report was created, in ISO 8601 date-time format. |
report_format | string | The format (MIME type) of the credential report. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_credential_report | select | region | Retrieves a credential report for the Amazon Web Services account. For more information about the credential report, see Getting credential reports in the IAM User Guide. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_credential_report
Retrieves a credential report for the Amazon Web Services account. For more information about the credential report, see Getting credential reports in the IAM User Guide.
SELECT
content,
generated_time,
report_format
FROM aws.iam.credential_reports
WHERE region = '{{ region }}' -- required
;