When creating Launch Configurations, user data can be used for the initial configuration of the instance. User data must not contain any sensitive data.
Sensitive credentials in user data can be leaked
Don’t use sensitive data in user data
The following example will fail the aws-launch-no-sensitive-info check.
The following example will pass the aws-launch-no-sensitive-info check.