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. |
project | path | true | string | The project identifier which uniquely identify your project in Evolution Platform. |
azureCredential | path | true | string | The Azure Credential Identifier which uniquely identify your credentials in Evolution Platform. |
Request Body
Name | Required | Type | Description |
---|---|---|---|
name | true | string | Name of the azure credential in Evolution Platform |
description | true | string | Description of the azure credential |
subscription | true | string | The subscription credentials which uniquely identify the Microsoft Azure subscription. |
tenant | true | string | The unique identifier of the Azure Active Directory tenant associated with the subscription. |
client | true | string | The identifier of the application registered in Azure Active Directory for authentication. |
client | true | string | The secret associated with the application, used to authenticate the application with Azure. |
expiration | true | string | The expiration date of the authentication token or client secret. |
Responses
Name | Type | Description |
---|---|---|
200 OK | Credentials | PATCH successful. The operation returns the updated credentials. |
Other Status Codes | Error response | Error response describing why the operation failed. |
Response content
Name | Type | Description |
---|---|---|
id | uuid | Identifier of the azure credential in Evolution Platform |
projectId | string | Identifier of the project in Evolution Platform |
name | string | Name of the azure credential in Evolution Platform |
csp | string | Name of the Cloud Service Provider (CSP) |
description | string | Description of the azure credential |
projectName | string | Name of the project in Evolution Platform |
expiration | string | The expiration date of the authentication token or client secret. |
Security
Type: oauth2
Authorization URL: https://api.orange.com/oauth/v3/token
Examples
Request
PATCH https://{envUri}/api/v1/projects/{projectId}/azure/credentials/{azureCredentialId}
{
"name":"CredentialsAzure",
"description":"This set of credentials allow provisionning on Azure",
"projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"subscriptionId": {AZURE_SUBSCRIPTION_ID},
"tenantId": {AZURE_TENANT_ID},
"clientId": {AZURE_CLIENT_ID},
"clientSecret": {AZURE_CLIENT_SECRET},
"expirationDate":"2025-06-15"
}