Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ This is the log of notable changes to EAS CLI and related packages.

### 🧹 Chores

- [eas-cli] Make ASC API key issuer identifier optional in GraphQL and credentials types. ([#4248](https://github.com/expo/eas-cli/pull/4248) by [@szymonswierk](https://github.com/szymonswierk))

## [22.2.0](https://github.com/expo/eas-cli/releases/tag/v22.2.0) - 2026-08-20

### 🎉 New features
Expand Down
7 changes: 4 additions & 3 deletions packages/eas-cli/src/credentials/ios/credentials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ export const distributionCertificateSchema: CredentialSchema<DistributionCertifi
export type MinimalAscApiKey = {
keyP8: string;
keyId: string;
issuerId: string;
// Absent for individual API keys, which are valid only for submissions.
issuerId?: string;
teamId?: string;
teamName?: string;
roles?: UserRole[];
Expand All @@ -115,7 +116,7 @@ export type MinimalAscApiKey = {
export interface AscApiKeyPath {
keyP8Path: string;
keyId: string;
issuerId: string;
issuerId?: string;
}

export const ascApiKeyIdSchema: CredentialSchema<Pick<MinimalAscApiKey, 'keyId'>> = {
Expand All @@ -129,7 +130,7 @@ export const ascApiKeyIdSchema: CredentialSchema<Pick<MinimalAscApiKey, 'keyId'>
],
};

export const ascApiKeyIssuerIdSchema: CredentialSchema<Pick<MinimalAscApiKey, 'issuerId'>> = {
export const ascApiKeyIssuerIdSchema: CredentialSchema<{ issuerId: string }> = {
name: 'App Store Connect API Key',
questions: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,11 @@ function displayAscApiKey(
if (name) {
fields.push({ label: 'Name', value: name });
}
fields.push({ label: 'Issuer ID', value: issuerIdentifier });
if (issuerIdentifier) {
fields.push({ label: 'Issuer ID', value: issuerIdentifier });
} else {
fields.push({ label: 'Key Type', value: 'Individual (submissions only)' });
}
if (roles) {
fields.push({ label: 'Roles', value: roles.join(',') });
}
Expand Down
Loading
Loading