fastlane/docs

Apple Api Key "key" key name wrong

ekuusi opened this issue · 1 comments

At https://docs.fastlane.tools/app-store-connect-api/

In the last example, you have:

{
  "key_id": "D383SF739",
  "issuer_id": "6053b7fe-68a8-4acb-89be-165aa6465141",
  "key": "-----BEGIN PRIVATE KEY-----\nMIGTAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBHknlhdlYdLu\n-----END PRIVATE KEY-----",
  "duration": 1200, # optional (maximum 1200)
  "in_house": false # optional but may be required if using match/sigh
}

However, fastlane gives me this error:

[!] Could not find option 'key' in the list of available options: key_id, issuer_id, key_filepath, key_content, is_key_content_base64, duration, in_house, set_spaceship_token

"key" should be "key_content" I believe?

Yes @ekuusi ! 🙌 Nice spotting!
Could you kindly open a PR with this fix? 🙏