Skip to main content

credential_reports

Creates, updates, deletes, gets or lists a credential_reports resource.

Overview​

Namecredential_reports
TypeResource
Idaws.iam.credential_reports

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
contentstringContains the credential report. The report is Base64-encoded.
generated_timestringThe date and time when the credential report was created, in ISO 8601 date-time format.
report_formatstringThe format (MIME type) of the credential report.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_credential_reportselectregionRetrieves 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples​

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
;