{"id":40105,"date":"2022-12-09T06:20:21","date_gmt":"2022-12-09T11:20:21","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/appcenter\/?p=40105"},"modified":"2022-12-21T04:09:57","modified_gmt":"2022-12-21T09:09:57","slug":"private-preview-for-app-store-connect-api-support","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/appcenter\/private-preview-for-app-store-connect-api-support\/","title":{"rendered":"Private Preview for App Store Connect API support"},"content":{"rendered":"<p>App Center is introducing JSON Web Token based authorization to Apple Developer Connection. You no longer have to renew your connection every 30 days using credentials, 2FA, and App Specific Password. Additionally, you will be able to set access levels for the keys in the Apple Developer Portal. While App Center will continue supporting the session-based authorization, we encourage you to try out using App Store Connect API key. Find a host of new features and improvements in the <a href=\"https:\/\/developer.apple.com\/documentation\/appstoreconnectapi\/app_store_connect_api_release_notes\">App Store Connect API release notes<\/a> for your internal development and testing.<\/p>\n<p>If you would like to try out App Store Connect API in App Center, contact support and let us know.\u00a0 We would be more than happy to enable the feature for your organization.\n<div  class=\"d-flex justify-content-center\"><a class=\"cta_button_link btn-primary mb-24\" href=\"https:\/\/appcenter.ms\/\" target=\"_blank\">Contact Support<\/a><\/div><\/p>\n<h3>Connect to App Store Connect via API key<\/h3>\n<p>To generate keys, you must have <strong>an Admin account<\/strong> in App Store Connect. Additionally, App Center requires<strong> an Admin Role<\/strong> to make a connection to App Store Connect.<\/p>\n<ol>\n<li><a href=\"https:\/\/developer.apple.com\/documentation\/appstoreconnectapi\/creating_api_keys_for_app_store_connect_api\">Create API keys for App Store Connect API<\/a> in the <a href=\"https:\/\/appstoreconnect.apple.com\/\">App Store Connect<\/a>.<\/li>\n<li>Navigate to the user profile setting on the right top corner and click <strong>Account Settings<\/strong>.<\/li>\n<li>Scroll down to the bottom of the page for <strong>App Store Connect API<\/strong> and click the <strong>Add (+) <\/strong>button.\n<a href=\"https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/AppleConnectStore.png\"><img decoding=\"async\" class=\"alignnone size-large wp-image-40112\" src=\"https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/AppleConnectStore-1024x528.png\" alt=\"Image AppleConnectStore\" width=\"640\" height=\"330\" srcset=\"https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/AppleConnectStore-1024x528.png 1024w, https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/AppleConnectStore-300x155.png 300w, https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/AppleConnectStore-768x396.png 768w, https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/AppleConnectStore.png 1509w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/li>\n<li>Upload your private key (.p8) and enter corresponding<strong> Issuer ID<\/strong> and <strong>Key ID<\/strong> that can be found on the <a href=\"https:\/\/appstoreconnect.apple.com\/access\/api\">App Store Connect API Keys<\/a> page. <strong>Key Name<\/strong> is for your reference only and is not part of the key itself.\n<a href=\"https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/UploadAPIkey.png\"><img decoding=\"async\" class=\"alignnone size-large wp-image-40113\" src=\"https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/UploadAPIkey-1024x528.png\" alt=\"Image UploadAPIkey\" width=\"640\" height=\"330\" srcset=\"https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/UploadAPIkey-1024x528.png 1024w, https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/UploadAPIkey-300x155.png 300w, https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/UploadAPIkey-768x396.png 768w, https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/UploadAPIkey.png 1509w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/li>\n<\/ol>\n<h3>Manage App Distribution to App Store via API key<\/h3>\n<p><video controls=\"controls\" width=\"750\" height=\"375\"><source src=\"https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/connect-to-store.mp4\" type=\"video\/mp4\" \/><\/video><\/p>\n<ol>\n<li>Navigate to the app to distribute in the <a href=\"https:\/\/appcenter.ms\">App Center portal <\/a>and click <strong>Stores<\/strong> under <strong>Distribute<\/strong>.<\/li>\n<li>Click <strong>Connect to Store<\/strong> and complete the remaining setup process.<\/li>\n<li>If you have an existing session-based connection, you will need to delete the connection in order to add a JWT based connection.\n<a href=\"https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/deleteConnection-2.png\"><img decoding=\"async\" class=\"alignnone size-large wp-image-40110\" src=\"https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/deleteConnection-2-1024x428.png\" alt=\"Image deleteConnection\" width=\"640\" height=\"268\" srcset=\"https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/deleteConnection-2-1024x428.png 1024w, https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/deleteConnection-2-300x125.png 300w, https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/deleteConnection-2-768x321.png 768w, https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/deleteConnection-2-1536x642.png 1536w, https:\/\/devblogs.microsoft.com\/appcenter\/wp-content\/uploads\/sites\/3\/2022\/12\/deleteConnection-2-2048x856.png 2048w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/li>\n<\/ol>\n<p><span style=\"font-size: 1rem;\"><div class=\"alert alert-warning\"><p class=\"alert-divider\"><i class=\"fabric-icon fabric-icon--Warning\"><\/i><strong>Warning<\/strong><\/p><strong>Note<\/strong> Removing the existing connection will result in removing the release history to App Store Connect Users in App Center Distribution. If you would like to keep the history using the session-based connection, you can create a new app in App Center to start distributing apps using App Store Connect API.<\/div>\u00a0<\/span><\/p>\n<h3>Contact Us<\/h3>\n<p>We would love to hear from you. Feel free to reach out and let us know what you think. Your feedback is always more than welcome to shape our services better serve our customers.\u00a0 Happy building!<\/p>\n<p><div  class=\"d-flex justify-content-center\"><a class=\"cta_button_link btn-primary mb-24\" href=\"https:\/\/appcenter.ms\/\" target=\"_blank\">Go to App Center<\/a><\/div><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>App Center is introducing JSON Web Token based authorization to Apple Developer Connection. You no longer have to renew your connection every 30 days using credentials, 2FA, and App Specific Password. Additionally, you will be able to set access levels for the keys in the Apple Developer Portal. While App Center will continue supporting the [&hellip;]<\/p>\n","protected":false},"author":24211,"featured_media":38034,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16],"tags":[],"class_list":["post-40105","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mobiledev"],"acf":[],"blog_post_summary":"<p>App Center is introducing JSON Web Token based authorization to Apple Developer Connection. You no longer have to renew your connection every 30 days using credentials, 2FA, and App Specific Password. Additionally, you will be able to set access levels for the keys in the Apple Developer Portal. While App Center will continue supporting the [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/appcenter\/wp-json\/wp\/v2\/posts\/40105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/appcenter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/appcenter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/appcenter\/wp-json\/wp\/v2\/users\/24211"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/appcenter\/wp-json\/wp\/v2\/comments?post=40105"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/appcenter\/wp-json\/wp\/v2\/posts\/40105\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/appcenter\/wp-json\/wp\/v2\/media\/38034"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/appcenter\/wp-json\/wp\/v2\/media?parent=40105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/appcenter\/wp-json\/wp\/v2\/categories?post=40105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/appcenter\/wp-json\/wp\/v2\/tags?post=40105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}