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-26 UTC."],[[["MART and Apigee Connect require a Google Cloud service account for authentication, except when using workload identity on AKS, EKS, or GKE."],["The MART service account key file, named `apigee-mart.json` for PROD and `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, you can create and download it using the `create-service-account` utility, which requires setting the `PROJECT_ID` environment variable."],["The file path to the service account key file must be added to the `connectAgent` and `mart.serviceAccountPath` properties in the `overrides.yaml` file."],["After updating the `overrides.yaml` file with the service account path, you must apply the changes using a `helm upgrade` command."]]],[]]