Application authentication methods
The Credential Providers facilitates multiple methods to authenticate applications. These methods are based on registering information in the Vault with the unique application ID.
Supported authentication methods
Method |
Credential |
Credential |
|
---|---|---|---|
P |
P |
P |
|
P |
P |
P |
|
P |
O |
O |
|
P |
O |
O |
|
O |
P |
O |
Using an application with no authentication method configured is not recommended in any scenario. Best practice is to configure all methods for each application; this enforces more restricted access to secrets stored in the Vault. |
The authentication methods supported in ASCP differs for each Application Server type. For more information, see Application Server Credential Provider.
These authentication methods can be specified for the application ID:
- Through the REST API. For more information see Add Authentication in the Privileged Access Security online help.
- In the PVWA. For more information, see Manage applications.
You cannot configure both OS User and Client Certificates authentication simultaneously on the Central Credential Provider. To configure multiple authentication methods on the same Central Credential Provider, see Multiple security configurations and authentication methods for the Central Credential Provider web service. |
Allowed machines authentication
The list of allowed machines (based on IP/DNS/Hostname/IP subnet in CIDR IPv4 format) that are specified for the application ID in the Vault. Multiple addresses can be specified for a single application ID, which enables multiple instances of a single application to run on different machines and use the same application ID. All the specified addresses are verified each time a request is received from the application.
The Credential Provider address is written in the local audit log of the Credential Provider when it starts.
|
OS user authentication
The OS users under which the application runs. Credential Provider compares the name of the OS user running the requesting application process with the OS user name that is specified for the application ID in the Vault. Multiple OS users can be specified for a single application ID. All the specified OS users are verified each time a request is received from the application.
|
|
---|---|
Credential Provider for Windows / Central Credential Provider |
In a Windows environment, when the Windows domain OS username is specified in the Password SDK, it must be preceded by the domain name. For example, MYCOMPANY_DOM\username. In Central Credential Provider, OS users are authenticated using Window domain authentication. For details on setting this up, see Authentication method configurations on the Central Credential Provider In addition, if Central Credential Provider is installed on the same server as a hardened PVWA, you must also configure your server to accept OS user authentication. For details, see Authentication method configurations on the Central Credential Provider. |
Credential Provider for Solaris/Linux/AIX | When setuid is defined on an application binary, Credential Provider authenticates the elevated user and not the user that ran the application binary. |
Application path authentication
The list of valid paths for the application. The Credential Provider compares the full path of the application or script file with the path specified for the application ID in the Vault, by verifying either an exact file path or all the applications/scripts in a specific folder. For details, see to Application path authentication.
|
Application hash authentication
The list of valid hash values of the application. The Credential Provider calculates the calling application hash value and compares it with the hash values specified for the application ID in the Vault. The main benefit of authenticating an application based on its hash is to protect it from any malicious code changes. For more information, refer to Authenticate with a hash value.
When using the .NET SDK from PowerShell scripts, hash authentication is not supported. |
Client certificates authentication
A signed certificate that enables client side authentication of the requesting application against the Central Credential Provider web service.
The following client certificate authentications are supported:
Authentication | Description | ||
---|---|---|---|
Certificate Serial Number |
Uses the serial number of the certificate to authenticate the application. Extract the Serial Number value from the Client Certificate. You can use Windows Certificate Manager or any other management utility to do this.
|
||
Certificate Attribute |
Uses the SubjectAlternativeName, Subject, or Issuer attribute to authenticate the application |
|