aap_create_credential
Create an Ansible Automation Platform credential by providing its name, type ID, and type-specific inputs. Use list credential types to identify the correct type and input schema.
Instructions
Create a new AAP credential.
Use aap_list_credential_types first to find the correct type ID and understand required inputs schema for that type.
Args: params (CreateCredInput): - name (str): Credential name - credential_type_id (int): Type ID - inputs (dict): Type-specific inputs (username, password, ssh_key_data, etc.) - organization_id (Optional[int]): Owner org - description (str): Optional description
Returns: str: JSON with created credential id and name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |