Gets resource token from env var