Updated to set default values for access and secret in non production
mode