Getting credentials from environment