Cleanup

Once you have completed this chapter, you can cleanup the files and resources you created by issuing the following commands:

unset AWS_SECRET_ACCESS_KEY
unset AWS_ACCESS_KEY_ID
kubectl delete namespace rbac-test
rm aws-auth.yaml
rm rbacuser_creds.sh
rm /tmp/create_output.json
rm rbacuser-role.yaml
rm rbacuser-role-binding.yaml
aws iam delete-user --user-name rbac-user