Using the Application to Application service, third-party applications can interact with Safeguard for Privileged Passwords in the following ways:
- Credential retrieval: A third-party application can retrieve a credential from the Safeguard for Privileged Passwords vault in order to perform automated functions on the target asset. In addition, you can replace hard coded passwords in procedures, scripts, and other programs with programmatic calls.
- Access request broker: A third-party application can initiate an access request on behalf of an authorized user so that the authorized user can be notified of the available request and log in to Safeguard for Privileged Passwords to retrieve a password or start a session.
Credential retrieval
A credential retrieval request using the Application to Application service allows the third-party application to retrieve credentials from the Safeguard for Privileged Passwords vault without having to go through the normal workflow process.
For example, say you have an automated system that performs a routine system diagnostic on various services in the data center every 24 hours. In order for the automated system to perform the diagnostics, it must first authenticate to the target server. Since all of the credentials for the target servers are stored in the Safeguard for Privileged Passwords vault, the automated system retrieves the credentials for a specified system by calling the Application to Application service.
Access request broker
An access request broker request using the Application to Application service allows the application to create an access request on behalf of another user.
For example, say you have a ticketing system and one of the types of tickets that can be created is to request access to a specific asset. The ticketing system can be integrated with Safeguard for Privileged Passwords through the Application to Application service to create an access request on behalf of the user that entered the ticket into the system. Once the request is created, it follows the normal access request workflow in Safeguard for Privileged Passwords and the user who entered the ticket will be notified when access is granted.
In order for a third-party application to perform one of tasks provided by the Application to Application service, the application must first be registered with Safeguard for Privileged Passwords. This registration will be associated with a certificate user and authentication to the Application to Application service will be done using the certificate and an API key. The registered application will not be allowed to authenticate to Safeguard for Privileged Passwords other than for the purpose specified. The properties associated with an application registration are:
The Application to Application service is disabled by default and must be enabled before any credential retrievals or access request broker functions can be performed.
Using the web client:
- Navigate to Security Policy Management > Application to Application.
- In the Enabled column for the service, move the toggle to the right to enable the service.
Using the API, use the following URL:
https://appliance/service/appliance/v4/A2AService/Enable
In addition, you can check the current state of the service using the following URL:
https://appliance/service/appliance/v4/A2AService/Status
In order to use Application to Application integration with Safeguard for Privileged Passwords, you must perform the following tasks:
-
Prepare third-party application for integration with Safeguard for Privileged Passwords.
-
Appliance Administrator enables Application to Application service in Safeguard for Privileged Passwords. Use one of the following methods:
-
Using the web client, navigate to Security Policy Management > Application to Application. In the Enabled column for the service, move the toggle to the right to enable the service.
-
Use the following URL: https://appliance/service/appliance/v4/A2AService/Enable.
-
Asset Administrator adds assets and accounts to Safeguard for Privileged Passwords. For more information, see Adding an asset and Adding an account
-
User Administrator adds certificate users to Safeguard for Privileged Passwords. For more information, see Adding a user.
-
Security Policy Administrator adds application registration to Safeguard for Privileged Passwords. For more information, see Adding an application registration.
-
Get the API key and copy/paste it into the third-party application in order to make requests from the third-party application. For more information, see Making a request using the Application to Application service.
To allow a third-party application to perform one of the tasks provided by the Application to Application service, you must register the third-party application with Safeguard for Privileged Passwords.
Prerequisites
- User Administrator adds certificate users to Safeguard for Privileged Passwords.
- Asset Administrator adds assets and accounts to Safeguard for Privileged Passwords.
To add an application registration
- Log in to the Safeguard for Privileged Passwords web client as a Security Policy Administrator.
- Navigate to Security Policy Management > Application to Application.
-
Click Add. The New Registration dialog displays.
- Specify the following information:
- Name: Enter a name for the application registration.
- Description: Enter information about the application registration.
-
Certificate User: Click Browse to select a certificate user who is associate with the third-party application being registered.
A certificate user must be specified. If not specified when you initially add an application registration, click Edit on the Application to Application page to specify the certificate user.
-
Visible To Certificate Users: Select this check box to make the registration, including the API keys, visible by the certificate user that is configured for the A2A registration.
- Click OK. This will save the initial application registration information and open a new dialog with additional settings.
-
The Access Request Broker tab displays a list of users for which the third-party application can create an access request on behalf of.
- Click to add a user or user group to the list.
-
Click Edit Restrictions to specify IP address restrictions for all of the users and user groups in the list.
A restriction is a list of IP addresses or range of IP addresses that are allowed to call the Application to Application service to perform this task. That is, if a restriction is added to a Credential Retrieval or Access Request Broker task, the service will only allow requests that initiate from the IP addresses specified in the restriction list.
The IP address notation can be:
- An IPv4 or IPv6 address (for example, 10.5.32.4)
- An address range in CIDR notation (for example, 10.5.0.0/16)
- Click to remove the selected user from the list.
-
The Credential Retrieval tab displays a list for which the third-party can retrieve credentials from Safeguard for Privileged Passwords without going through the normal workflow process.
- Click to add an account to the list.
-
Click Restrictions in the Restrictions column to specify IP address restrictions for the selected account.
A restriction is a list of IP addresses or range of IP addresses that are allowed to call the Application to Application service to perform this task. That is, if a restriction is added to a Credential Retrieval or Access Request Broker task, the service will only allow requests that initiate from the IP addresses specified in the restriction list.
The IP address notation can be:
- An IPv4 or IPv6 address (for example, 10.5.32.4)
- An address range in CIDR notation (for example, 10.5.0.0/16)
- Click to remove the selected account from the list.
- Click OK to save and close the dialog.
Once an application registration is added to Safeguard for Privileged Passwords, the third-party application can authenticate with Safeguard for Privileged Passwords using the API key that was generated and the certificate that was associated with the registration. To make a request, you must retrieve the relevant API key for the application using an authorized account (that is, using bearer token authentication) and install the correct certificate on the host that will make the request. For more information, see Making a request using the Application to Application service.
You can delete a previously configured application registration from Safeguard for Privileged Passwords.
To delete an application registration
- Navigate to Security Policy Management > Application to Application.
- Select the application registration to be deleted.
- Click the toolbar button.
- Confirm your request.