AWS WAF ClassicAWS WAF v2Old PlanNew PlanAdvancedLegacyUsage
This article explains how to switch to using AssumeRole (IAM Role) if you are currently using the access key/secret key (IAM User) as your credential information.
*It is not recommended to use an access key/secret key. We recommend using AssumeRole.
You will be able to see the list of resources associated with the credential information that uses an access key/secret key under the [Used by the following resources] section if you click on the name of the credential information. Change the associated credential information for each resource listed to those of AssumeRole.
*If the [Credential Type] is listed as [Access Key], the selected credential information uses the access key/secret key.
[WAF Config] tab under [Used by the following resources] lists the name of WAF Configs associated with the credential information.
The tab will be unavailable if the Advanced rule policy WAF Configs are not associated with the credential information.
[(Legacy) WAF Config] tab under [Used by the following resources] lists the name of WAF Configs associated with the credential information.
The tab will be unavailable if the Legacy rule policy WAF Configs are not associated with the credential information.
In addition, you will be configuring the access log retrieval feature if you are using the Legacy rule policy. In such a case, you will also be able to see the list of Web Site Configs under the [(Legacy) Access log retrieval] tab in the [Used by the following resources] section.
Please create an IAM Role following the procedures in one of the pages below before changing the associated credential information.
Once you click the [Add] button, the resources will be revalidated, and rules will be reapplied. If the validation status returns an error, please see the Errors shown on each resource for AWS WAF Classic/AWS WAF v2 page to check the status.
You will be editing both WAF Config's credential information and Web Site Config's credential information.
If you have multiple Web Site Configs registered, please repeat steps 8 to 10 for each Web Site Config.