Get Credential Profile
cnc_get_credential_profileFetch a credential profile by name to obtain its user/password records with masked secrets, used for device and provider authentication.
Instructions
Get the full record of one credential profile by name.
Read-only. Profiles have no UUID: the name is the identifier everywhere (devices and providers reference it in their "profile" field). Find names with cnc_list_credential_profiles.
Args: profile: exact profile name (case-insensitive; surrounding whitespace is stripped). A '*' wildcard is accepted by the platform but this tool needs a single exact match.
Returns: str: JSON object {"profile": str, "user_pass": [{"user_name", "password": "******", "type": "ROBOT_USERPASS_SSH|HTTP|HTTPS|...", ...}], "v2_info": {...}?, "v3_info": {...}?}. Secrets are masked by the API. On failure: "Error: Credential profile '' not found ..." when nothing matches, "Error: ... matches several profiles ..." when a wildcard was used, "Error: profile must not be empty ..." for a blank name, or "Error: ".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | Yes | Exact profile name, case-insensitive (e.g. 'nso', 'cml-xrd'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |