authEnvironment property

Map<String, String>? get authEnvironment

Public accessor for the auth environment so collaborator services (like HostingSiteManager) can run firebase/gcloud as the same SA that Oracular's other steps use. Returns the same map as the internal _authEnvironment getter — i.e. a single-key map binding GOOGLE_APPLICATION_CREDENTIALS to the resolved SA file, or null when no SA file was configured/found.

Without this, downstream commands like firebase hosting:sites:create inherit only the parent shell's environment, which routinely leaves firebase-tools with no credentials at all (no stored login + no GOOGLE_APPLICATION_CREDENTIALS) and fails with "Failed to authenticate, have you run firebase login?".

Implementation

Map<String, String>? get authEnvironment => _authEnvironment;