moving common vars out of secrets for the public ami