{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/cloudera/main/json-schema/cloudera-create-aws-credential-request-schema.json", "title": "CreateAwsCredentialRequest", "description": "Request object for creating AWS IAM or Access & Secret Key cloud credentials.", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/cloudera-replicationmanager-api-openapi.yml#/components/schemas/CreateAwsCredentialRequest", "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: IAM: none; ACCESSKEY: accessKey, secretKey. Superfluous parameters are ignored. Providing IAM will create an IAM Role-based Authentication account in Cloudera Manager. Providing ACCESSKEY will create an AWS Access Key Authentication account in Cloudera Manager.", "$ref": "#/$defs/AwsCloudCredentialType" }, "accessKey": { "description": "AWS access key.", "type": "string", "x-sensitive": true }, "secretKey": { "description": "AWS secret key.", "type": "string", "x-sensitive": true } }, "$defs": { "AwsCloudCredentialType": { "type": "string", "description": "AWS cloud credential type.", "enum": [ "IAM", "ACCESSKEY" ] } } }