Skip to main content

Azure credentials - Create

Create Azure credentials into a specified project.

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

URI Parameters

NameInRequiredTypeDescription
envUripathtruestringUrl of the target platform.
projectIdpathtruestringThe project identifier which uniquely identify your project in Evolution Platform.

Responses

NameTypeDescription
201 CreatedCredentialCreate successful. The operation returns the resulting resource..
Other Status CodesErrorUnexpected error.

Security

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

Examples

Sample request:

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

{
"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: 201 (Created)

{
"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"
}