Does hosting allow me to add a config file in /var/www/xxx

I'm building a plugin that may need me to put credentials in /var/www/.aws/credentials to call an API. Is this possible with Hosting?