Skip to main content

Azure credentials - Update

Update Azure credentials into a specified project.

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

URI Parameters

NameInRequiredTypeDescription
envUripathtruestringUrl of the target platform.
projectIdpathtruestringThe project identifier which uniquely identify your project in Evolution Platform.
AzureCredentialIdpathtruestringThe Azure Credential Identifier which uniquely identify your credentials in Evolution Platform.

Responses

NameTypeDescription
200 OKCredentialOK
Other Status CodesErrorUnexpected error.

Security

Type: oauth2
Authorization URL: https://api.orange.com/oauth/v3/token

Examples

Sample request:

PATCH https://{envUri}/api/v1/projects/{projectId}/azure/credentials/{AzureCredentialIs

{
"name":"CredentialsAzure",
"description":"This set of credentials allow provisionning on Azure",
"projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"subscriptionId": {AZURE_SUBSCIPTION_ID},
"tenantId": {AZURE_TENANT_ID},
"clientId": {AZURE_CLIENT_ID},
"clientSecret": {AZURE_CLIENT_SECRET},
"expirationDate":"2025-06-15"
}

Sample response:
Status code: 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"
}