# vault authenticator This example illustrates the essential setup of a Vault secret store and authenticates a service. It then goes on to authenticate a username/password. > Note that you'll need both [`vault`](https://www.vaultproject.io/) and [`jq`](https://stedolan.github.io/jq/). To begin with, you must start Vault in development mode: ``` vault server -dev ``` In another terminal, enter the following commands to enable app role authentication, configure policies, and the obtain a role_id and secret_id for our example service: ``` export VAULT_ADDR='http://127.0.0.1:8200' vault kv put secret/default/secrets.some-secret value=some-secret-value vault auth enable approle vault policy write my-example-policy -<