Questo argomento spiega come configurare l'account di servizio MART.
Aggiunta dell'account di servizio MART
MART e Apigee Connect richiedono un account di servizio Google Cloud per l'autenticazione.
Individua il file della chiave per l'account di servizio apigee-mart.
Il file deve avere un'estensione .json. Deve trovarsi nella directory apigee-org o in una sottodirectory.
Installazioni PROD: apigee-mart.json
Installazioni NON-PROD: apigee-non-prod.json
Se non vedi il file dell'account di servizio MART, creane e scaricane uno con l'utilità create-service-account:
Assicurati che la variabile di ambiente PROJECT_ID sia impostata:
echo $PROJECT_ID
Definiscila se necessario:
export PROJECT_ID=my-project-id
Crea l'account di servizio MART. Puoi trovare lo strumento create-service-account in:
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-03-12 UTC."],[[["The MART and Apigee Connect services require a Google Cloud service account for authentication, unless using workload identity on AKS, EKS, or GKE."],["The MART service account key file, either `apigee-mart.json` for PROD or `apigee-non-prod.json` for NON-PROD, should be located in the `apigee-org` directory or a subdirectory."],["If the MART service account file is missing, it can be created and downloaded using the `create-service-account` utility, which is found in the `APIGEE_HELM_CHARTS_HOME/apigee-operator/etc/tools/` directory."],["The path to the MART service account key file must be specified in the `connectAgent.serviceAccountPath` and `mart.serviceAccountPath` properties within the `overrides.yaml` file."],["To apply the changes, you need to use the command `helm upgrade ORG_NAME apigee-org/ --namespace apigee --atomic -f OVERRIDES_FILE.yaml`, replacing `upgrade` with `install` if it's the initial deployment."]]],[]]