Service Credential
Create Service Credential
Administrators can create new service credentials by specifying account details such as username, password, and permissions. These credentials are configured to align with security policies and access controls, safeguarding database environments against unauthorized access or misuse.
Steps:
- Navigate to the "Setup" tab.
- Select the "Service Credential" option.
- Click the "Create New Credential" button.
- Enter the details as per your service credential setup requirements:
- Name: Provide a unique and descriptive name for the credential (e.g., Prod SSH Key, DB Admin).
- Description: Enter optional details about the credential’s purpose or usage.
- Type: Select the connection type (e.g., SSH Connection, Database, API, etc.).
- Port: Specify the connection port (e.g., 22 for SSH, 3306 for MySQL).
- Scope: Choose whether the credential is:
- Private – accessible only to you.
- Public – shared and accessible to others (based on permissions).
- User Name: Enter the username associated with the credential.
- Password: Enter the password if required. (Leave blank if using key-based authentication.)
- User Group: Define the user group that can access this credential (if applicable).
- Run Privilege As: Choose the privilege level under which this credential will execute (e.g., Sudo, Root, or Normal User).
- Private Key: Paste the private key if key-based authentication is used (e.g., SSH private key).
- Click the "Create" button.
Edit Service Credential
Existing service credentials can be edited to update account information or adjust permissions as needed. This capability supports ongoing security management practices and ensures that service credentials remain compliant with organizational security standards.
Steps:
- Navigate to the "Setup" tab.
- Select the "Service Credential" option.
- Click the "Edit" button next to the service credential you wish to modify.
- Update the information as needed:
- Name: Provide a unique and descriptive name for the credential (e.g., Prod SSH Key, DB Admin).
- Description: Enter optional details about the credential’s purpose or usage.
- Type: Select the connection type (e.g., SSH Connection, Database, API, etc.).
- Port: Specify the connection port (e.g., 22 for SSH, 3306 for MySQL).
- Scope: Choose whether the credential is:
- Private – accessible only to you.
- Public – shared and accessible to others (based on permissions).
- User Name: Enter the username associated with the credential.
- Password: Enter the password if required. (Leave blank if using key-based authentication.)
- User Group: Define the user group that can access this credential (if applicable).
- Run Privilege As: Choose the privilege level under which this credential will execute (e.g., Sudo, Root, or Normal User).
- Private Key: Paste the private key if key-based authentication is used (e.g., SSH private key).
- Click the "Apply Changes" button.