The approle auth method allows machines or apps to authenticate with Vault-defined roles. The open design of AppRole enables a varied set of workflows and configurations to handle large numbers of apps. This auth method is oriented to automated workflows (machines and services), and is less useful for human operators.
An AppRole can be created for a particular machine, or even a particular user on that machine, or a service spread across machines. The credentials required for successful login depend upon the constraints set on the AppRole associated with the credentials
The userpass auth method allows users to authenticate with Vault using a username and password combination.
The username/password combinations are configured directly to the auth method using the users/ path. This method cannot read usernames and passwords from an external source.
we can use it on our different environment such as Dev,QA etc.