[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# googleauth - Module Google::Auth::JsonKeyReader (v1.15.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.15.0 (latest)](/ruby/docs/reference/googleauth/latest/Google-Auth-JsonKeyReader)\n- [1.14.0](/ruby/docs/reference/googleauth/1.14.0/Google-Auth-JsonKeyReader)\n- [1.13.1](/ruby/docs/reference/googleauth/1.13.1/Google-Auth-JsonKeyReader)\n- [1.12.2](/ruby/docs/reference/googleauth/1.12.2/Google-Auth-JsonKeyReader) \nReference documentation and code samples for the googleauth module Google::Auth::JsonKeyReader.\n\nJsonKeyReader contains the behaviour used to read private key and\nclient email fields from the service account\n\nMethods\n-------\n\n### #read_json_key\n\n def read_json_key(json_key_io) -\u003e Array(String, String, String, String, String)\n\nReads a JSON key from an IO object and extracts common fields. \n**Parameter**\n\n- **json_key_io** (IO) --- An IO object containing the JSON key \n**Returns**\n\n- (Array(String, String, String, String, String)) --- An array containing: private_key, client_email, project_id, quota_project_id, and universe_domain \n**Raises**\n\n- ([Google::Auth::InitializationError](./Google-Auth-InitializationError)) --- If client_email or private_key fields are missing from the JSON"]]