Aller au contenu principal

Identifiants Azure - Get

Afficher les informations associées à un identifiant Azure.

GET https://{envUri}/api/v1/projects/{projectId}/azure/credentials/{azureCredentialId}

Paramètres URI

NomDansObligatoireTypeDescription
envUripathtruestringURL de la plateforme cible.
projectIdpathtruestringIdentifiant unique du projet dans Evolution Platform.
azureCredentialIdpathtruestringIdentifant du credential Azure dans Evolution Platform.

Réponses

NomTypeDescription
200 OKIdentifiantGET en succès. L'opération retourne l'identifiant Azure.
Autres CodesRéponse d'erreurRéponse d’erreur décrivant pourquoi l’opération a échoué.

Corps de la demande

NomTypeDescription
iduuidIdentifiant de l'identifiant Azure dans Evolution Platform
projectIdstringIdentifiant du projet dans Evolution Platform
namestringNom de l'identifiant Azure dans Evolution Platform
cspstringNom du fournisseur de services cloud (Cloud Service Provider)
descriptionstringDescription de l'identifiant Azure
projectNamestringNom du projet dans Evolution Platform
expirationDatestringLa date d'expiration du jeton d'authentification ou du secret client.

Securité

Type : oauth2

URL d’autorisation : https://api.orange.com/oauth/v3/token

Exemples

Exemple de requête

GET https://{envUri}/api/v1/projects/projectId/azure/credentials/{azureCredentialId}

Exemple de réponse

Code d’état : 200 (OK)

{
"id": "29f85f64-5717-4562-b3fc-2c963f66afa6",
"projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name":"CredentialsAzure",
"csp":"AZURE",
"description":"This set of credentials allow provisionning on Azure",
"projectName": "orchestrator",
"expirationDate":"2025-06-15"
}