Skip to contents

Reads the API key from the realm's environment variable (e.g., SPDGT_API_KEY for the counts realm). Validates the key against the API and updates credential state with user information.

Usage

authenticate_api_key(realm = "counts")

Arguments

realm

Realm name