It's related to Carrierwave, but not directly.  Carrierwave doesn't care where the s3 creds come from, so the s3.yml is purely an flms thing.