···72 env::var("APPLE_DEVELOPER_TOKEN_KEY_ID").context("missing apple developer key ID")?;
73 let team_id =
74 env::var("APPLE_DEVELOPER_TOKEN_TEAM_ID").context("missing apple developer team ID")?;
75- let auth_key = fs::read("keys/AuthKey.p8").context("missing apple developer auth key")?;
0076 let key = EncodingKey::from_ec_pem(&auth_key)
77 .context("failed to parse apple developer auth key")?;
78 let user_token = env::var("APPLE_USER_TOKEN").context("missing apple user token")?;
···72 env::var("APPLE_DEVELOPER_TOKEN_KEY_ID").context("missing apple developer key ID")?;
73 let team_id =
74 env::var("APPLE_DEVELOPER_TOKEN_TEAM_ID").context("missing apple developer team ID")?;
75+ let auth_key_path = env::var("APPLE_DEVELOPER_AUTH_KEY_PATH")
76+ .context("missing apple developer apple developer auth key path")?;
77+ let auth_key = fs::read(auth_key_path).context("missing apple developer auth key")?;
78 let key = EncodingKey::from_ec_pem(&auth_key)
79 .context("failed to parse apple developer auth key")?;
80 let user_token = env::var("APPLE_USER_TOKEN").context("missing apple user token")?;