{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/cloudera/main/json-schema/cloudera-create-abfs-credential-request-schema.json", "title": "CreateAbfsCredentialRequest", "description": "Request object for creating ABFS cloud credentials. Currently supported cloud credentials: ABFS Access Key for Ambari clusters, ABFS Client Secret for CM clusters.", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/cloudera-replicationmanager-api-openapi.yml#/components/schemas/CreateAbfsCredentialRequest", "type": "object", "required": [ "name", "clusters", "type" ], "properties": { "name": { "description": "Name of the credential.", "type": "string" }, "clusters": { "description": "List of cluster CRNs where the credential should be created.", "type": "array", "items": { "type": "string" } }, "type": { "description": "Type of the credential. Additional required parameters by type: ACCESSKEY: storageAccountName, accessKey; CLIENTKEY: clientId, clientSecretKey, tenantId. Superfluous parameters are ignored. Providing ACCESSKEY will create an ABFS Access Key based account in Ambari. Providing CLIENTKEY will create an Azure Active Directory Service Principal account in Cloudera Manager. ACCESSKEY is only supported on Ambari, while CLIENTKEY is only supported on Cloudera Manager.", "$ref": "#/$defs/AbfsCloudCredentialType" }, "accessKey": { "description": "ABFS access key.", "type": "string", "x-sensitive": true }, "storageAccountName": { "description": "ABFS storage account name.", "type": "string" }, "clientId": { "description": "Client ID of an Active Directory service principal account.", "type": "string" }, "clientSecretKey": { "description": "Client Key of an Active Directory service principal account.", "type": "string", "x-sensitive": true }, "tenantId": { "description": "Tenant ID of an Active Directory service principal account.", "type": "string" } }, "$defs": { "AbfsCloudCredentialType": { "type": "string", "description": "ABFS cloud credential type.", "enum": [ "ACCESSKEY", "CLIENTKEY" ] } } }