# Get Credential

This method is used to retrieve the user name and password information stored securely on PAW Orchestrator.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `Name`    | `String` | ✅Yes     | Credential name |


---

### :arrow_right:**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `IsGetCredentialSuccessful` | `Boolean` | Success status |
| `GetCredentialMessage` | `String` | Result message |
| `UserName` | `String` | User name   |
| `Password` | `SecureString` | Password (secure) |


---

### 🎯 Purpose

* Ensure that sensitive information (credential) is managed securely
* Retrieve passwords from a central structure without keeping them in code
* Develop automation that complies with security standards


---

### ⚙️ How It Works

* The credential record defined in Orchestrator is called with the given key
* The user name and password information is delivered securely to the robot
* The password information is kept and used in a masked / secure format


---

### 📥 Input Parameters

#### 🔹 Credential Name / Key

The name of the credential record defined in Orchestrator.  
The related user information is retrieved through this key.


---

### 📤 Output Parameters

#### 🔹 Username

The user name information.

#### 🔹 Password

The securely stored password information.  
It is usually returned as **SecureString** or a similar secure data type.


---

### 📌 Features

* Passwords are managed centrally
* Eliminates the use of plain-text passwords in code
* Separate credentials can be defined for different environments (test/prod)


---

### ⚠️ Important Notes

* Credential information must not be written to logs
* The password information should be kept in memory for as short a time as possible
* Within the scope of authorization, only permitted credentials can be accessed


---

### 💡 Usage Scenarios

* Login operations to systems such as ERP, SAP and web applications
* API authentication processes
* Management of database connection information


---

### 🔁 Example Flow


1. The credential is defined in Orchestrator
2. It is called with the **Get Credential** method
3. Username and Password are received
4. The login operation is performed in the related system


---

### 💡 Summary

The Get Credential method manages sensitive user information from a secure and central structure, increasing security in automation processes and providing a sustainable structure.