Azure credentials - Update
Update Azure credentials into a specified project.
PATCH https://{envUri}/api/v1/projects/{projectId}/azure/credentials/{azureCredentialId}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
envUri | path | true | string | Url of the target platform. |
projectId | path | true | string | The project identifier which uniquely identify your project in Evolution Platform. |
AzureCredentialId | path | true | string | The Azure Credential Identifier which uniquely identify your credentials in Evolution Platform. |
Responses
Name | Type | Description |
---|---|---|
200 OK | Credential | OK |
Other Status Codes | Error | Unexpected 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"
}