Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate elasticsearch plugin to v5 database plugin interface #19

Merged
merged 10 commits into from
Oct 6, 2020

Conversation

tvoran
Copy link
Member

@tvoran tvoran commented Sep 25, 2020

Overview

Migrating this plugin to the new database plugin interface.

Design of Change

go get github.com/hashicorp/vault/sdk@b2927012ba9131f68606debec13bfc221b221912

Then changing the functions to satisfy the newdbplugin Database interface.

Also adds testing docs and scripts.

Related Issues/Pull Requests

Contributor Checklist

  • Add relevant docs to upstream Vault repository, or sufficient reasoning why docs won’t be added yet
    My Docs PR Link
    Example
  • Add output for any tests not ran in CI to the PR description (eg, acceptance tests)
Unit and integration tests
$ make test
==> Checking that code complies with gofmt requirements...
CGO_ENABLED=1 go test -v -short -tags='' $(go list ./... | grep -v /vendor/ | grep -v /integ)  -timeout=20m -parallel=1
=== RUN   Test_Acceptance
2020/09/25 18:44:56 running tests against mocked Elasticsearch
2020/09/25 18:44:56 enabling database secrets engine
=== RUN   Test_Acceptance/write_a_config
=== RUN   Test_Acceptance/test_internally_defined_roles
2020/09/25 18:44:57 [DEBUG] DELETE http://127.0.0.1:63271/_xpack/security/user/v-token-internally-defi-jfPfuPFWrJJV5rVpNCmD-1601084697
2020/09/25 18:44:57 [DEBUG] DELETE http://127.0.0.1:63271/_xpack/security/role/v-token-internally-defi-jfPfuPFWrJJV5rVpNCmD-1601084697
=== RUN   Test_Acceptance/test_externally_defined_roles
2020/09/25 18:44:57 [DEBUG] DELETE http://127.0.0.1:63271/_xpack/security/user/v-token-externally-defi-j0HP0D3zOCFMybT0SihD-1601084697
=== RUN   Test_Acceptance/test_credential_renewal
=== RUN   Test_Acceptance/test_credential_revocation
=== RUN   Test_Acceptance/test_root_credential_rotation
=== RUN   Test_Acceptance/check_raciness
--- PASS: Test_Acceptance (0.23s)
    --- PASS: Test_Acceptance/write_a_config (0.17s)
    --- PASS: Test_Acceptance/test_internally_defined_roles (0.01s)
    --- PASS: Test_Acceptance/test_externally_defined_roles (0.01s)
    --- PASS: Test_Acceptance/test_credential_renewal (0.01s)
    --- PASS: Test_Acceptance/test_credential_revocation (0.01s)
    --- SKIP: Test_Acceptance/test_root_credential_rotation (0.00s)
    --- SKIP: Test_Acceptance/check_raciness (0.00s)
=== RUN   TestClient_CreateListGetDeleteRole
2020/09/25 18:44:57 [DEBUG] POST http://127.0.0.1:63298/_xpack/security/role/role-name
2020/09/25 18:44:57 [DEBUG] GET http://127.0.0.1:63298/_xpack/security/role/role-name
2020/09/25 18:44:57 [DEBUG] DELETE http://127.0.0.1:63298/_xpack/security/role/role-name
--- PASS: TestClient_CreateListGetDeleteRole (0.00s)
=== RUN   TestClient_CreateGetDeleteUser
2020/09/25 18:44:57 [DEBUG] POST http://127.0.0.1:63302/_xpack/security/user/user-name
2020/09/25 18:44:57 [DEBUG] POST http://127.0.0.1:63302/_xpack/security/user/user-name/_password
2020/09/25 18:44:57 [DEBUG] DELETE http://127.0.0.1:63302/_xpack/security/user/user-name
--- PASS: TestClient_CreateGetDeleteUser (0.00s)
=== RUN   TestClient_BadResponses
--- SKIP: TestClient_BadResponses (0.00s)
=== RUN   TestElasticsearch
=== RUN   TestElasticsearch/test_type
=== RUN   TestElasticsearch/test_initialize
2020/09/25 18:44:57 [DEBUG] GET http://127.0.0.1:63306/_xpack/security/role/vault-test
=== RUN   TestElasticsearch/test_new_user
2020/09/25 18:44:57 [DEBUG] POST http://127.0.0.1:63306/_xpack/security/role/v-display-name-role-name-r5AO1T5dydjjUEJ10ZBp-1601084697
2020/09/25 18:44:57 [DEBUG] POST http://127.0.0.1:63306/_xpack/security/user/v-display-name-role-name-r5AO1T5dydjjUEJ10ZBp-1601084697
2020/09/25 18:44:57 [DEBUG] POST http://127.0.0.1:63306/_xpack/security/user/v-display-name-role-name-IuEC6X5YTktcevIC4CeX-1601084697
=== RUN   TestElasticsearch/test_delete_user
2020/09/25 18:44:57 [DEBUG] DELETE http://127.0.0.1:63306/_xpack/security/role/v-display-name-role-name-r5AO1T5dydjjUEJ10ZBp-1601084697
2020/09/25 18:44:57 [DEBUG] DELETE http://127.0.0.1:63306/_xpack/security/user/v-display-name-role-name-r5AO1T5dydjjUEJ10ZBp-1601084697
2020/09/25 18:44:57 [DEBUG] DELETE http://127.0.0.1:63306/_xpack/security/role/v-display-name-role-name-IuEC6X5YTktcevIC4CeX-1601084697
2020/09/25 18:44:57 [DEBUG] DELETE http://127.0.0.1:63306/_xpack/security/user/v-display-name-role-name-IuEC6X5YTktcevIC4CeX-1601084697
=== RUN   TestElasticsearch/test_update_user
2020/09/25 18:44:57 [DEBUG] POST http://127.0.0.1:63306/_xpack/security/user/fizz/_password
--- PASS: TestElasticsearch (0.00s)
    --- PASS: TestElasticsearch/test_type (0.00s)
    --- PASS: TestElasticsearch/test_initialize (0.00s)
    --- PASS: TestElasticsearch/test_new_user (0.00s)
    --- PASS: TestElasticsearch/test_delete_user (0.00s)
    --- PASS: TestElasticsearch/test_update_user (0.00s)
=== RUN   TestElasticsearch_SecretValues
--- PASS: TestElasticsearch_SecretValues (0.00s)
=== RUN   TestIntegration_Container
=== RUN   TestIntegration_Container/test_init
2020/09/25 18:45:16 [DEBUG] GET https://localhost:32813/_xpack/security/role/vault-test
=== RUN   TestIntegration_Container/test_create_user
2020/09/25 18:45:16 [DEBUG] POST https://localhost:32813/_xpack/security/role/v-display-name-role-name-BeGZuDtcMsG1ENVzYkKP-1601084716
2020/09/25 18:45:16 [DEBUG] POST https://localhost:32813/_xpack/security/user/v-display-name-role-name-BeGZuDtcMsG1ENVzYkKP-1601084716
2020/09/25 18:45:16 [DEBUG] POST https://localhost:32813/_xpack/security/user/v-display-name-role-name-Mn45eW0rNekBXaAzXOcN-1601084716
=== RUN   TestIntegration_Container/test_delete_user
2020/09/25 18:45:17 [DEBUG] DELETE https://localhost:32813/_xpack/security/role/v-display-name-role-name-BeGZuDtcMsG1ENVzYkKP-1601084716
2020/09/25 18:45:17 [DEBUG] DELETE https://localhost:32813/_xpack/security/user/v-display-name-role-name-BeGZuDtcMsG1ENVzYkKP-1601084716
2020/09/25 18:45:17 [DEBUG] DELETE https://localhost:32813/_xpack/security/role/v-display-name-role-name-Mn45eW0rNekBXaAzXOcN-1601084716
2020/09/25 18:45:17 [DEBUG] DELETE https://localhost:32813/_xpack/security/user/v-display-name-role-name-Mn45eW0rNekBXaAzXOcN-1601084716
=== RUN   TestIntegration_Container/test_update_user
2020/09/25 18:45:17 [DEBUG] POST https://localhost:32813/_xpack/security/user/vault/_password
--- PASS: TestIntegration_Container (21.02s)
    --- PASS: TestIntegration_Container/test_init (0.03s)
    --- PASS: TestIntegration_Container/test_create_user (0.47s)
    --- PASS: TestIntegration_Container/test_delete_user (0.30s)
    --- PASS: TestIntegration_Container/test_update_user (0.35s)
PASS
ok  	github.com/hashicorp/vault-plugin-database-elasticsearch	21.582s
?   	github.com/hashicorp/vault-plugin-database-elasticsearch/cmd/vault-plugin-database-elasticsearch	[no test files]
?   	github.com/hashicorp/vault-plugin-database-elasticsearch/mock	[no test files]
Acceptance tests with real elasticsearch
./scripts/run_acceptance.sh
+ make dev
==> Checking that code complies with gofmt requirements...
==> Removing old directory...
==> Building...
Number of parallel builds: 15

-->    darwin/amd64: github.com/hashicorp/vault-plugin-database-elasticsearch/cmd/vault-plugin-database-elasticsearch

==> Results:
total 0
drwxr-xr-x  3 tvoran  staff    96B Sep 25 18:57 darwin_amd64
+ sleep 2
+ vault server -log-level=debug -dev -dev-ha -dev-transactional -dev-root-token-id=root -dev-plugin-dir=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin
==> Vault server configuration:

             Api Address: http://127.0.0.1:8200
                     Cgo: disabled
         Cluster Address: https://127.0.0.1:8201
              Go Version: go1.14.7
              Listener 1: tcp (addr: "127.0.0.1:8200", cluster address: "127.0.0.1:8201", max_request_duration: "1m30s", max_request_size: "33554432", tls: "disabled")
               Log Level: debug
                   Mlock: supported: false, enabled: false
           Recovery Mode: false
                 Storage: inmem_transactional_ha (HA available)
                 Version: Vault v1.6.0-dev
             Version Sha: e1f9859ca409fc224d90504e45cbaba1f75ff4b6+CHANGES

==> Vault server started! Log data will stream in below:

2020-09-25T18:57:30.115-0700 [INFO]  proxy environment: http_proxy= https_proxy= no_proxy=
2020-09-25T18:57:30.116-0700 [WARN]  no `api_addr` value specified in config or in VAULT_API_ADDR; falling back to detection if possible, but this value should be manually set
2020-09-25T18:57:30.117-0700 [DEBUG] core: set config: sanitized config={"api_addr":"","cache_size":0,"cluster_addr":"","cluster_cipher_suites":"","cluster_name":"","default_lease_ttl":0,"default_max_request_duration":0,"disable_cache":false,"disable_clustering":false,"disable_indexing":false,"disable_mlock":true,"disable_performance_standby":false,"disable_printable_check":false,"disable_sealwrap":false,"disable_sentinel_trace":false,"enable_ui":true,"listeners":[{"config":{"address":"127.0.0.1:8200","proxy_protocol_authorized_addrs":"127.0.0.1:8200","proxy_protocol_behavior":"allow_authorized","tls_disable":true},"type":"tcp"}],"log_format":"unspecified","log_level":"","max_lease_ttl":0,"pid_file":"","plugin_directory":"","raw_storage_endpoint":false,"seals":[{"disabled":false,"type":"shamir"}],"storage":{"cluster_addr":"","disable_clustering":false,"redirect_addr":"","type":"inmem_transactional_ha"},"telemetry":{"circonus_api_app":"","circonus_api_token":"","circonus_api_url":"","circonus_broker_id":"","circonus_broker_select_tag":"","circonus_check_display_name":"","circonus_check_force_metric_activation":"","circonus_check_id":"","circonus_check_instance_id":"","circonus_check_search_tag":"","circonus_check_tags":"","circonus_submission_interval":"","circonus_submission_url":"","disable_hostname":true,"dogstatsd_addr":"","dogstatsd_tags":null,"maximum_gauge_cardinality":500,"metrics_prefix":"","prometheus_retention_time":86400000000000,"stackdriver_debug_logs":false,"stackdriver_location":"","stackdriver_namespace":"","stackdriver_project_id":"","statsd_address":"","statsite_address":"","usage_gauge_period":600000000000}}
2020-09-25T18:57:30.118-0700 [DEBUG] storage.cache: creating LRU cache: size=0
2020-09-25T18:57:30.118-0700 [DEBUG] cluster listener addresses synthesized: cluster_addresses=[127.0.0.1:8201]
2020-09-25T18:57:30.120-0700 [INFO]  core: security barrier not initialized
2020-09-25T18:57:30.120-0700 [INFO]  core: security barrier initialized: stored=1 shares=1 threshold=1
2020-09-25T18:57:30.121-0700 [DEBUG] core: cluster name not found/set, generating new
2020-09-25T18:57:30.121-0700 [DEBUG] core: cluster name set: name=vault-cluster-24c526f1
2020-09-25T18:57:30.121-0700 [DEBUG] core: cluster ID not found, generating new
2020-09-25T18:57:30.121-0700 [DEBUG] core: cluster ID set: id=a34d9b12-05e8-a9e8-32a9-fcc4d2076cea
2020-09-25T18:57:30.121-0700 [DEBUG] core: generating cluster private key
2020-09-25T18:57:30.129-0700 [DEBUG] core: generating local cluster certificate
2020-09-25T18:57:30.143-0700 [INFO]  core: post-unseal setup starting
2020-09-25T18:57:30.143-0700 [DEBUG] core: clearing forwarding clients
2020-09-25T18:57:30.143-0700 [DEBUG] core: done clearing forwarding clients
2020-09-25T18:57:30.143-0700 [DEBUG] core: persisting feature flags
2020-09-25T18:57:30.152-0700 [INFO]  core: loaded wrapping token key
2020-09-25T18:57:30.152-0700 [INFO]  core: upgrading plugin information: plugins=[]
2020-09-25T18:57:30.152-0700 [INFO]  core: successfully setup plugin catalog: plugin-directory=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin
2020-09-25T18:57:30.152-0700 [INFO]  core: no mounts; adding default mount table
2020-09-25T18:57:30.154-0700 [INFO]  core: successfully mounted backend: type=cubbyhole path=cubbyhole/
2020-09-25T18:57:30.155-0700 [INFO]  core: successfully mounted backend: type=system path=sys/
2020-09-25T18:57:30.157-0700 [INFO]  core: successfully mounted backend: type=identity path=identity/
2020-09-25T18:57:30.159-0700 [INFO]  core: successfully enabled credential backend: type=token path=token/
2020-09-25T18:57:30.159-0700 [INFO]  rollback: starting rollback manager
2020-09-25T18:57:30.160-0700 [INFO]  core: restoring leases
2020-09-25T18:57:30.160-0700 [DEBUG] expiration: collecting leases
2020-09-25T18:57:30.162-0700 [DEBUG] expiration: leases collected: num_existing=0
2020-09-25T18:57:30.162-0700 [DEBUG] identity: loading entities
2020-09-25T18:57:30.162-0700 [DEBUG] identity: entities collected: num_existing=0
2020-09-25T18:57:30.162-0700 [INFO]  identity: entities restored
2020-09-25T18:57:30.162-0700 [DEBUG] identity: identity loading groups
2020-09-25T18:57:30.162-0700 [DEBUG] identity: groups collected: num_existing=0
2020-09-25T18:57:30.162-0700 [INFO]  identity: groups restored
2020-09-25T18:57:30.163-0700 [INFO]  expiration: lease restore complete
2020-09-25T18:57:30.163-0700 [INFO]  core: post-unseal setup complete
2020-09-25T18:57:30.163-0700 [INFO]  core: root token generated
2020-09-25T18:57:30.163-0700 [INFO]  core: pre-seal teardown starting
2020-09-25T18:57:30.163-0700 [DEBUG] expiration: stop triggered
2020-09-25T18:57:30.163-0700 [DEBUG] expiration: finished stopping
2020-09-25T18:57:30.163-0700 [INFO]  rollback: stopping rollback manager
2020-09-25T18:57:30.163-0700 [INFO]  core: pre-seal teardown complete
2020-09-25T18:57:30.164-0700 [DEBUG] core: unseal key supplied
2020-09-25T18:57:30.164-0700 [DEBUG] core: starting cluster listeners
2020-09-25T18:57:30.164-0700 [INFO]  core.cluster-listener.tcp: starting listener: listener_address=127.0.0.1:8201
2020-09-25T18:57:30.164-0700 [INFO]  core.cluster-listener: serving cluster requests: cluster_listen_address=127.0.0.1:8201
2020-09-25T18:57:30.164-0700 [INFO]  core: vault is unsealed
2020-09-25T18:57:30.164-0700 [INFO]  core: entering standby mode
2020-09-25T18:57:30.165-0700 [INFO]  core: acquired lock, enabling active operation
2020-09-25T18:57:30.165-0700 [DEBUG] core: generating cluster private key
2020-09-25T18:57:30.172-0700 [DEBUG] core: generating local cluster certificate
2020-09-25T18:57:30.180-0700 [INFO]  core: post-unseal setup starting
2020-09-25T18:57:30.180-0700 [DEBUG] core: clearing forwarding clients
2020-09-25T18:57:30.180-0700 [DEBUG] core: done clearing forwarding clients
2020-09-25T18:57:30.180-0700 [DEBUG] core: persisting feature flags
2020-09-25T18:57:30.180-0700 [INFO]  core: loaded wrapping token key
2020-09-25T18:57:30.180-0700 [INFO]  core: upgrading plugin information: plugins=[]
2020-09-25T18:57:30.180-0700 [INFO]  core: successfully setup plugin catalog: plugin-directory=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin
2020-09-25T18:57:30.181-0700 [INFO]  core: successfully mounted backend: type=system path=sys/
2020-09-25T18:57:30.181-0700 [INFO]  core: successfully mounted backend: type=identity path=identity/
2020-09-25T18:57:30.181-0700 [INFO]  core: successfully mounted backend: type=cubbyhole path=cubbyhole/
2020-09-25T18:57:30.182-0700 [INFO]  core: successfully enabled credential backend: type=token path=token/
2020-09-25T18:57:30.182-0700 [INFO]  core: restoring leases
2020-09-25T18:57:30.182-0700 [INFO]  rollback: starting rollback manager
2020-09-25T18:57:30.182-0700 [DEBUG] identity: loading entities
2020-09-25T18:57:30.182-0700 [DEBUG] expiration: collecting leases
2020-09-25T18:57:30.182-0700 [DEBUG] identity: entities collected: num_existing=0
2020-09-25T18:57:30.182-0700 [DEBUG] expiration: leases collected: num_existing=0
2020-09-25T18:57:30.182-0700 [INFO]  identity: entities restored
2020-09-25T18:57:30.182-0700 [DEBUG] identity: identity loading groups
2020-09-25T18:57:30.182-0700 [DEBUG] identity: groups collected: num_existing=0
2020-09-25T18:57:30.182-0700 [INFO]  identity: groups restored
2020-09-25T18:57:30.182-0700 [DEBUG] core: request forwarding setup function
2020-09-25T18:57:30.182-0700 [DEBUG] core: clearing forwarding clients
2020-09-25T18:57:30.182-0700 [DEBUG] core: done clearing forwarding clients
2020-09-25T18:57:30.182-0700 [DEBUG] core: leaving request forwarding setup function
2020-09-25T18:57:30.182-0700 [INFO]  core: post-unseal setup complete
2020-09-25T18:57:30.182-0700 [INFO]  expiration: lease restore complete
2020-09-25T18:57:31.172-0700 [INFO]  expiration: revoked lease: lease_id=auth/token/root/hb4025a8e8988e60bf1e6dd45952e1784ca76a7527e9d4df70267836a8e6a8c3a
2020-09-25T18:57:31.176-0700 [INFO]  core: successful mount: namespace= path=secret/ type=kv
2020-09-25T18:57:31.187-0700 [INFO]  secrets.kv.kv_a1ab1311: collecting keys to upgrade
2020-09-25T18:57:31.187-0700 [INFO]  secrets.kv.kv_a1ab1311: done collecting keys: num_keys=1
2020-09-25T18:57:31.187-0700 [DEBUG] secrets.kv.kv_a1ab1311: upgrading keys: progress=0/1
2020-09-25T18:57:31.187-0700 [INFO]  secrets.kv.kv_a1ab1311: upgrading keys finished
WARNING! dev mode is enabled! In this mode, Vault runs entirely in-memory
and starts unsealed with a single unseal key. The root token is already
authenticated to the CLI, so you can immediately begin using Vault.

You may need to set the following environment variable:

    $ export VAULT_ADDR='http://127.0.0.1:8200'

The unseal key and root token are displayed below in case you want to
seal/unseal the Vault or re-authenticate.

Unseal Key: HnUwl9aQeaDOTzR7WNTEcpP0gd9ffo287xn371hYvaU=
Root Token: root

The following dev plugins are registered in the catalog:
    - vault-plugin-database-elasticsearch

Development mode should NOT be used in production installations!

+ VAULT_PID=34556
+ trap cleanup EXIT
+ export VAULT_ACC=1
+ VAULT_ACC=1
+ export VAULT_ADDR=http://localhost:8200
+ VAULT_ADDR=http://localhost:8200
+ export VAULT_TOKEN=root
+ VAULT_TOKEN=root
+ export ES_URL=https://localhost:9200
+ ES_URL=https://localhost:9200
+ export ES_USERNAME=vault
+ ES_USERNAME=vault
+ export ES_PASSWORD=myPa55word
+ ES_PASSWORD=myPa55word
+ export CA_CERT=/Users/tvoran/projects/vault-plugin-database-elasticsearch/scripts/certs/ca/ca.crt
+ CA_CERT=/Users/tvoran/projects/vault-plugin-database-elasticsearch/scripts/certs/ca/ca.crt
+ export CLIENT_CERT=/Users/tvoran/projects/vault-plugin-database-elasticsearch/scripts/certs/es01/es01.crt
+ CLIENT_CERT=/Users/tvoran/projects/vault-plugin-database-elasticsearch/scripts/certs/es01/es01.crt
+ export CLIENT_KEY=/Users/tvoran/projects/vault-plugin-database-elasticsearch/scripts/certs/es01/es01.key
+ CLIENT_KEY=/Users/tvoran/projects/vault-plugin-database-elasticsearch/scripts/certs/es01/es01.key
+ go test -v ./... -run Test_Acceptance
2020-09-25T18:57:33.391-0700 [INFO]  secrets.database.database_af46705f: initializing database rotation queue
2020-09-25T18:57:33.391-0700 [INFO]  core: successful mount: namespace= path=database/ type=database
2020-09-25T18:57:33.401-0700 [INFO]  secrets.database.database_af46705f: populating role rotation queue
2020-09-25T18:57:33.401-0700 [INFO]  secrets.database.database_af46705f: starting periodic ticker
2020-09-25T18:57:33.436-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:33.459-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:33.463-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34624
2020-09-25T18:57:33.463-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:33.474-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:33.473-0700
2020-09-25T18:57:33.499-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:33.499-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin281002839 network=unix timestamp=2020-09-25T18:57:33.499-0700
2020-09-25T18:57:33.550-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:33 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:33.644-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:33 [DEBUG] POST https://localhost:9200/_xpack/security/role/v-token-internally-defi-jydwylNb3TezsuNCLjtc-1601085453
2020-09-25T18:57:33.671-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:33 [DEBUG] POST https://localhost:9200/_xpack/security/user/v-token-internally-defi-jydwylNb3TezsuNCLjtc-1601085453
2020-09-25T18:57:33.925-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:33 [DEBUG] POST https://localhost:9200/_xpack/security/user/v-token-externally-defi-TwRvqOHmWrMZnaj4ATwq-1601085453
2020-09-25T18:57:34.124-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:34 [DEBUG] DELETE https://localhost:9200/_xpack/security/role/v-token-internally-defi-jydwylNb3TezsuNCLjtc-1601085453
2020-09-25T18:57:34.153-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:34 [DEBUG] DELETE https://localhost:9200/_xpack/security/user/v-token-internally-defi-jydwylNb3TezsuNCLjtc-1601085453
2020-09-25T18:57:34.183-0700 [INFO]  expiration: revoked lease: lease_id=database/creds/internally-defined-role/uMdLTChVgCDaxYMbMUejcomh
2020-09-25T18:57:34.187-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:34 [DEBUG] DELETE https://localhost:9200/_xpack/security/role/v-token-externally-defi-TwRvqOHmWrMZnaj4ATwq-1601085453
2020-09-25T18:57:34.215-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:34 [DEBUG] DELETE https://localhost:9200/_xpack/security/user/v-token-externally-defi-TwRvqOHmWrMZnaj4ATwq-1601085453
2020-09-25T18:57:34.258-0700 [INFO]  expiration: revoked lease: lease_id=database/creds/externally-defined-role/ySLf9XSlWdZLMiWn04lmFBDL
2020-09-25T18:57:34.262-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:34 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:34.305-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:34.329-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:34.333-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34625
2020-09-25T18:57:34.333-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:34.345-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:34.345-0700
2020-09-25T18:57:34.372-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:34.372-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin184243300 network=unix timestamp=2020-09-25T18:57:34.372-0700
2020-09-25T18:57:34.374-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34624
2020-09-25T18:57:34.374-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:34.422-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:34.425-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:34 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:34.447-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:34.451-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34626
2020-09-25T18:57:34.453-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:34.463-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:34.462-0700
2020-09-25T18:57:34.489-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin357044273 network=unix timestamp=2020-09-25T18:57:34.489-0700
2020-09-25T18:57:34.489-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:34.517-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34625
2020-09-25T18:57:34.517-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:34.541-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:34 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:34.564-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:34.589-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:34.592-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34627
2020-09-25T18:57:34.592-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:34.605-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:34.605-0700
2020-09-25T18:57:34.632-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin745243990 network=unix timestamp=2020-09-25T18:57:34.632-0700
2020-09-25T18:57:34.632-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:34.634-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:34 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:34.684-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:34 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:34.753-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34626
2020-09-25T18:57:34.753-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:34.786-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34627
2020-09-25T18:57:34.786-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:34.800-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:34.823-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:34.827-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34628
2020-09-25T18:57:34.827-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:34.836-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:34.839-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:34.839-0700
2020-09-25T18:57:34.862-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:34.865-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34629
2020-09-25T18:57:34.865-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:34.865-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:34.865-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin965901571 network=unix timestamp=2020-09-25T18:57:34.865-0700
2020-09-25T18:57:34.884-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:34.877-0700
2020-09-25T18:57:34.904-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin752195560 network=unix timestamp=2020-09-25T18:57:34.904-0700
2020-09-25T18:57:34.904-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:34.919-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:34 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:34.955-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:34 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:35.009-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:35 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:35.098-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34629
2020-09-25T18:57:35.098-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:35.145-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:35.170-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:35.173-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34630
2020-09-25T18:57:35.173-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:35.185-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:35.185-0700
2020-09-25T18:57:35.212-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin585676973 network=unix timestamp=2020-09-25T18:57:35.212-0700
2020-09-25T18:57:35.212-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:35.265-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:35 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:35.268-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34628
2020-09-25T18:57:35.269-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:35.313-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:35.336-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:35.340-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34631
2020-09-25T18:57:35.340-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:35.352-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:35.352-0700
2020-09-25T18:57:35.366-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34630
2020-09-25T18:57:35.366-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:35.378-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin717187802 network=unix timestamp=2020-09-25T18:57:35.378-0700
2020-09-25T18:57:35.378-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:35.414-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:35.435-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:35 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:35.440-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:35.444-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34632
2020-09-25T18:57:35.444-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:35.457-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:35.457-0700
2020-09-25T18:57:35.483-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin619213287 network=unix timestamp=2020-09-25T18:57:35.483-0700
2020-09-25T18:57:35.483-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:35.527-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:35 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:35.537-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:35 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:35.635-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34631
2020-09-25T18:57:35.635-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:35.680-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:35.703-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34632
2020-09-25T18:57:35.703-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:35.703-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:35.708-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34633
2020-09-25T18:57:35.708-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:35.719-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:35.719-0700
2020-09-25T18:57:35.745-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin239258444 network=unix timestamp=2020-09-25T18:57:35.745-0700
2020-09-25T18:57:35.745-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:35.750-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:35.776-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:35.780-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34634
2020-09-25T18:57:35.780-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:35.793-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:35.792-0700
2020-09-25T18:57:35.802-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:35 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:35.818-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin798833345 network=unix timestamp=2020-09-25T18:57:35.818-0700
2020-09-25T18:57:35.818-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:35.870-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:35 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:35.892-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:35 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:35.964-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34634
2020-09-25T18:57:35.964-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:36.005-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:36.027-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:36.031-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34635
2020-09-25T18:57:36.031-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:36.042-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:36.042-0700
2020-09-25T18:57:36.068-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin717797022 network=unix timestamp=2020-09-25T18:57:36.068-0700
2020-09-25T18:57:36.068-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:36.118-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34633
2020-09-25T18:57:36.118-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:36.120-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:36 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:36.164-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:36.185-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:36.189-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34636
2020-09-25T18:57:36.189-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:36.201-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:36.200-0700
2020-09-25T18:57:36.209-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34635
2020-09-25T18:57:36.209-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:36.228-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin275317507 network=unix timestamp=2020-09-25T18:57:36.228-0700
2020-09-25T18:57:36.228-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:36.253-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:36.276-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:36.280-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34637
2020-09-25T18:57:36.280-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:36.283-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:36 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:36.293-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:36.293-0700
2020-09-25T18:57:36.319-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin583472472 network=unix timestamp=2020-09-25T18:57:36.319-0700
2020-09-25T18:57:36.319-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:36.370-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:36 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:36.370-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:36 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:36.458-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34637
2020-09-25T18:57:36.458-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:36.475-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34636
2020-09-25T18:57:36.475-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:36.502-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:36.518-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:36.525-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:36.530-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34638
2020-09-25T18:57:36.531-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:36.540-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:36.540-0700
2020-09-25T18:57:36.547-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:36.551-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34639
2020-09-25T18:57:36.551-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:36.563-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:36.563-0700
2020-09-25T18:57:36.567-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:36.567-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin485333605 network=unix timestamp=2020-09-25T18:57:36.567-0700
2020-09-25T18:57:36.589-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin428419762 network=unix timestamp=2020-09-25T18:57:36.589-0700
2020-09-25T18:57:36.589-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:36.620-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:36 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:36.643-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:36 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:36.709-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34638
2020-09-25T18:57:36.709-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:36.751-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:36.775-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:36.780-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34640
2020-09-25T18:57:36.782-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:36.783-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:36 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:36.793-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:36.793-0700
2020-09-25T18:57:36.829-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin171113335 network=unix timestamp=2020-09-25T18:57:36.829-0700
2020-09-25T18:57:36.829-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:36.882-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:36 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:36.909-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34639
2020-09-25T18:57:36.909-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:36.952-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:36.977-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:36.979-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34640
2020-09-25T18:57:36.979-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:36.982-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34641
2020-09-25T18:57:36.982-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:36.994-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:36.993-0700
2020-09-25T18:57:37.018-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:37.018-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin469068916 network=unix timestamp=2020-09-25T18:57:37.018-0700
2020-09-25T18:57:37.025-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:37.051-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:37.054-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34642
2020-09-25T18:57:37.054-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:37.067-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:37.067-0700
2020-09-25T18:57:37.075-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:37 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:37.095-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin257779841 network=unix timestamp=2020-09-25T18:57:37.095-0700
2020-09-25T18:57:37.095-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:37.146-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:37 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:37.165-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:37 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:37.237-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34642
2020-09-25T18:57:37.238-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:37.279-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:37.301-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:37.305-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34643
2020-09-25T18:57:37.305-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:37.317-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:37.317-0700
2020-09-25T18:57:37.342-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:37.342-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin222415046 network=unix timestamp=2020-09-25T18:57:37.341-0700
2020-09-25T18:57:37.393-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:37 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:37.404-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34641
2020-09-25T18:57:37.404-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:37.450-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:37.474-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:37.478-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34644
2020-09-25T18:57:37.480-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:37.489-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34643
2020-09-25T18:57:37.489-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:37.491-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:37.491-0700
2020-09-25T18:57:37.518-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin086941891 network=unix timestamp=2020-09-25T18:57:37.518-0700
2020-09-25T18:57:37.518-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:37.534-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:37.559-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:37.563-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34645
2020-09-25T18:57:37.565-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:37.570-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:37 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:37.575-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:37.574-0700
2020-09-25T18:57:37.600-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:37.600-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin219314040 network=unix timestamp=2020-09-25T18:57:37.600-0700
2020-09-25T18:57:37.653-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:37 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:37.659-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:37 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:37.748-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34645
2020-09-25T18:57:37.748-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:37.769-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34644
2020-09-25T18:57:37.769-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:37.797-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:37.817-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:37.820-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:37.825-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34646
2020-09-25T18:57:37.825-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:37.836-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:37.836-0700
2020-09-25T18:57:37.847-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:37.851-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34647
2020-09-25T18:57:37.852-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:37.862-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:37.862-0700
2020-09-25T18:57:37.862-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin031796565 network=unix timestamp=2020-09-25T18:57:37.862-0700
2020-09-25T18:57:37.862-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:37.888-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin364440738 network=unix timestamp=2020-09-25T18:57:37.888-0700
2020-09-25T18:57:37.888-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:37.914-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:37 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:37.939-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:37 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:38.005-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34646
2020-09-25T18:57:38.005-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:38.048-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:38.072-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:38.077-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34648
2020-09-25T18:57:38.078-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:38.079-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:38 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:38.090-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:38.090-0700
2020-09-25T18:57:38.116-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:38.116-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin906084479 network=unix timestamp=2020-09-25T18:57:38.116-0700
2020-09-25T18:57:38.167-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:38 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:38.181-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34647
2020-09-25T18:57:38.181-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:38.225-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:38.248-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:38.252-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34649
2020-09-25T18:57:38.252-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:38.257-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34648
2020-09-25T18:57:38.257-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:38.265-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:38.265-0700
2020-09-25T18:57:38.291-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:38.291-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin220795244 network=unix timestamp=2020-09-25T18:57:38.291-0700
2020-09-25T18:57:38.302-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:38.327-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:38.330-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34650
2020-09-25T18:57:38.330-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:38.344-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:38.344-0700
2020-09-25T18:57:38.345-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:38 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:38.369-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: network=unix address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin947378817 timestamp=2020-09-25T18:57:38.369-0700
2020-09-25T18:57:38.370-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:38.422-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:38 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:38.433-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:38 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:38.515-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34650
2020-09-25T18:57:38.515-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:38.558-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:38.582-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:38.587-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34651
2020-09-25T18:57:38.588-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:38.600-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:38.599-0700
2020-09-25T18:57:38.627-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin600269790 network=unix timestamp=2020-09-25T18:57:38.627-0700
2020-09-25T18:57:38.628-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:38.682-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:38 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:38.684-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34649
2020-09-25T18:57:38.684-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:38.729-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:38.751-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:38.755-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34652
2020-09-25T18:57:38.755-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:38.769-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:38.769-0700
2020-09-25T18:57:38.772-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34651
2020-09-25T18:57:38.772-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:38.795-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: network=unix address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin603861291 timestamp=2020-09-25T18:57:38.795-0700
2020-09-25T18:57:38.795-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:38.818-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:38.841-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:38.845-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34653
2020-09-25T18:57:38.846-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:38.849-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:38 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:38.858-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:38.858-0700
2020-09-25T18:57:38.884-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin127106936 network=unix timestamp=2020-09-25T18:57:38.884-0700
2020-09-25T18:57:38.884-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:38.938-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:38 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:38.938-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:38 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:39.024-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34653
2020-09-25T18:57:39.024-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:39.042-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34652
2020-09-25T18:57:39.042-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:39.070-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:39.087-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:39.092-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:39.097-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34654
2020-09-25T18:57:39.098-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:39.108-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:39.108-0700
2020-09-25T18:57:39.116-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:39.120-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34655
2020-09-25T18:57:39.120-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:39.131-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:39.131-0700
2020-09-25T18:57:39.134-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin466061717 network=unix timestamp=2020-09-25T18:57:39.134-0700
2020-09-25T18:57:39.134-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:39.156-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin336100458 network=unix timestamp=2020-09-25T18:57:39.156-0700
2020-09-25T18:57:39.157-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:39.188-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:39 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:39.210-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:39 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:39.278-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34654
2020-09-25T18:57:39.278-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:39.321-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:39.344-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:39.349-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34656
2020-09-25T18:57:39.349-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:39.352-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:39 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:39.363-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:39.363-0700
2020-09-25T18:57:39.389-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin169024831 network=unix timestamp=2020-09-25T18:57:39.389-0700
2020-09-25T18:57:39.389-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:39.442-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:39 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:39.467-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34655
2020-09-25T18:57:39.467-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:39.513-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:39.535-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:39.539-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34657
2020-09-25T18:57:39.540-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:39.546-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34656
2020-09-25T18:57:39.546-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:39.552-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:39.552-0700
2020-09-25T18:57:39.577-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:39.577-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin594292316 network=unix timestamp=2020-09-25T18:57:39.577-0700
2020-09-25T18:57:39.591-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:39.616-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:39.620-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34658
2020-09-25T18:57:39.620-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:39.630-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:39 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:39.635-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:39.635-0700
2020-09-25T18:57:39.660-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin019605977 network=unix timestamp=2020-09-25T18:57:39.660-0700
2020-09-25T18:57:39.660-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:39.712-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:39 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:39.718-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:39 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:39.800-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34658
2020-09-25T18:57:39.800-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:39.843-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:39.866-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:39.871-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34659
2020-09-25T18:57:39.872-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:39.883-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:39.883-0700
2020-09-25T18:57:39.910-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin140449926 network=unix timestamp=2020-09-25T18:57:39.910-0700
2020-09-25T18:57:39.910-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:39.957-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34657
2020-09-25T18:57:39.957-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:39.962-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:39 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:40.002-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:40.026-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:40.030-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34660
2020-09-25T18:57:40.030-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:40.043-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:40.042-0700
2020-09-25T18:57:40.053-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34659
2020-09-25T18:57:40.053-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:40.070-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin613615987 network=unix timestamp=2020-09-25T18:57:40.070-0700
2020-09-25T18:57:40.070-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:40.099-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:40.123-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:40 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:40.124-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:40.128-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34661
2020-09-25T18:57:40.128-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:40.142-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:40.141-0700
2020-09-25T18:57:40.167-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin123024008 network=unix timestamp=2020-09-25T18:57:40.167-0700
2020-09-25T18:57:40.167-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:40.215-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:40 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:40.222-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:40 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:40.312-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34661
2020-09-25T18:57:40.312-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:40.325-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34660
2020-09-25T18:57:40.325-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:40.356-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:40.368-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:40.379-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:40.385-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34662
2020-09-25T18:57:40.385-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:40.396-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:40.396-0700
2020-09-25T18:57:40.399-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:40.402-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34663
2020-09-25T18:57:40.402-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:40.414-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:40.413-0700
2020-09-25T18:57:40.423-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin410085485 network=unix timestamp=2020-09-25T18:57:40.422-0700
2020-09-25T18:57:40.423-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:40.440-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin934922258 network=unix timestamp=2020-09-25T18:57:40.440-0700
2020-09-25T18:57:40.441-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:40.477-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:40 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:40.494-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:40 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:40.567-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34662
2020-09-25T18:57:40.567-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:40.609-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:40.630-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:40.635-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34664
2020-09-25T18:57:40.636-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:40.638-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:40 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:40.648-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:40.648-0700
2020-09-25T18:57:40.674-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:40.674-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin724362567 network=unix timestamp=2020-09-25T18:57:40.674-0700
2020-09-25T18:57:40.727-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:40 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:40.753-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34663
2020-09-25T18:57:40.753-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:40.800-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:40.820-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34664
2020-09-25T18:57:40.821-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:40.825-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:40.830-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34665
2020-09-25T18:57:40.830-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:40.842-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:40.841-0700
2020-09-25T18:57:40.868-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: network=unix address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin044567260 timestamp=2020-09-25T18:57:40.868-0700
2020-09-25T18:57:40.868-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:40.870-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:40.896-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:40.900-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34666
2020-09-25T18:57:40.900-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:40.912-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:40.912-0700
2020-09-25T18:57:40.924-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:40 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:40.938-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: network=unix address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin699641913 timestamp=2020-09-25T18:57:40.938-0700
2020-09-25T18:57:40.938-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:40.990-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:40 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:41.013-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:41 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:41.084-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34666
2020-09-25T18:57:41.084-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:41.129-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:41.151-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:41.155-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34667
2020-09-25T18:57:41.155-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:41.167-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:41.167-0700
2020-09-25T18:57:41.193-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin071018518 network=unix timestamp=2020-09-25T18:57:41.193-0700
2020-09-25T18:57:41.193-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:41.247-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34665
2020-09-25T18:57:41.247-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:41.249-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:41 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:41.292-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:41.315-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:41.320-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34668
2020-09-25T18:57:41.320-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:41.333-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:41.332-0700
2020-09-25T18:57:41.339-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34667
2020-09-25T18:57:41.339-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:41.359-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin697150155 network=unix timestamp=2020-09-25T18:57:41.359-0700
2020-09-25T18:57:41.359-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:41.384-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:41.409-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:41.414-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34669
2020-09-25T18:57:41.415-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:41.416-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:41 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:41.428-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:41.428-0700
2020-09-25T18:57:41.454-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin621665024 network=unix timestamp=2020-09-25T18:57:41.454-0700
2020-09-25T18:57:41.454-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:41.507-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:41 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:41.508-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:41 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:41.596-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34669
2020-09-25T18:57:41.596-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:41.614-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34668
2020-09-25T18:57:41.614-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:41.640-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:41.659-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:41.665-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:41.669-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34670
2020-09-25T18:57:41.669-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:41.681-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:41.681-0700
2020-09-25T18:57:41.688-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:41.691-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34671
2020-09-25T18:57:41.691-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:41.703-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:41.702-0700
2020-09-25T18:57:41.706-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin585349653 network=unix timestamp=2020-09-25T18:57:41.706-0700
2020-09-25T18:57:41.706-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:41.730-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: network=unix address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin621160178 timestamp=2020-09-25T18:57:41.730-0700
2020-09-25T18:57:41.730-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:41.761-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:41 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:41.783-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:41 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:41.854-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34670
2020-09-25T18:57:41.854-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:41.896-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:41.919-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:41.924-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34672
2020-09-25T18:57:41.924-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:41.925-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:41 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:41.936-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:41.936-0700
2020-09-25T18:57:41.961-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:41.961-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin096867519 network=unix timestamp=2020-09-25T18:57:41.961-0700
2020-09-25T18:57:42.015-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:42 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:42.036-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34671
2020-09-25T18:57:42.036-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:42.080-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:42.104-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34672
2020-09-25T18:57:42.104-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:42.104-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:42.109-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34673
2020-09-25T18:57:42.110-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:42.120-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:42.120-0700
2020-09-25T18:57:42.146-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin470707236 network=unix timestamp=2020-09-25T18:57:42.146-0700
2020-09-25T18:57:42.146-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:42.152-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:42.178-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:42.182-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34674
2020-09-25T18:57:42.182-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:42.194-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:42.194-0700
2020-09-25T18:57:42.202-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:42 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:42.222-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: network=unix address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin629176841 timestamp=2020-09-25T18:57:42.222-0700
2020-09-25T18:57:42.222-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:42.277-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:42 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:42.297-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:42 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:42.369-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34674
2020-09-25T18:57:42.369-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:42.412-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:42.435-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:42.439-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34675
2020-09-25T18:57:42.439-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:42.453-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:42.453-0700
2020-09-25T18:57:42.479-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:42.479-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin121219582 network=unix timestamp=2020-09-25T18:57:42.479-0700
2020-09-25T18:57:42.534-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:42 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:42.538-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34673
2020-09-25T18:57:42.538-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:42.582-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:42.606-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:42.609-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34676
2020-09-25T18:57:42.609-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:42.622-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:42.622-0700
2020-09-25T18:57:42.624-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34675
2020-09-25T18:57:42.624-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:42.647-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:42.647-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin849922691 network=unix timestamp=2020-09-25T18:57:42.647-0700
2020-09-25T18:57:42.670-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:42.692-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:42.696-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34677
2020-09-25T18:57:42.696-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:42.701-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:42 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:42.711-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:42.710-0700
2020-09-25T18:57:42.736-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:42.736-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin256514472 network=unix timestamp=2020-09-25T18:57:42.736-0700
2020-09-25T18:57:42.792-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:42 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:42.794-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:42 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:42.885-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34677
2020-09-25T18:57:42.885-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:42.899-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34676
2020-09-25T18:57:42.899-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:42.930-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:42.943-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:42.953-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:42.958-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34678
2020-09-25T18:57:42.958-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:42.970-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:42.969-0700
2020-09-25T18:57:42.972-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:42.976-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34679
2020-09-25T18:57:42.976-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:42.987-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:42.987-0700
2020-09-25T18:57:42.995-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:42.995-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin655470189 network=unix timestamp=2020-09-25T18:57:42.995-0700
2020-09-25T18:57:43.013-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin969774930 network=unix timestamp=2020-09-25T18:57:43.013-0700
2020-09-25T18:57:43.013-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:43.050-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:43 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:43.070-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:43 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:43.144-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34678
2020-09-25T18:57:43.144-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:43.187-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:43.209-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:43.213-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34680
2020-09-25T18:57:43.213-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:43.218-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:43 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:43.230-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:43.230-0700
2020-09-25T18:57:43.256-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin038238287 network=unix timestamp=2020-09-25T18:57:43.256-0700
2020-09-25T18:57:43.256-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:43.307-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:43 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:43.325-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34679
2020-09-25T18:57:43.325-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:43.371-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:43.394-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:43.398-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34681
2020-09-25T18:57:43.398-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:43.402-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34680
2020-09-25T18:57:43.402-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:43.411-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:43.410-0700
2020-09-25T18:57:43.435-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:43.435-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: network=unix address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin294429772 timestamp=2020-09-25T18:57:43.435-0700
2020-09-25T18:57:43.447-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:43.473-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:43.477-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34682
2020-09-25T18:57:43.477-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:43.489-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:43.489-0700
2020-09-25T18:57:43.490-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:43 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:43.516-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin756520681 network=unix timestamp=2020-09-25T18:57:43.516-0700
2020-09-25T18:57:43.516-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:43.570-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:43 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:43.580-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:43 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:43.657-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34682
2020-09-25T18:57:43.657-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:43.700-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:43.722-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:43.727-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34683
2020-09-25T18:57:43.728-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:43.738-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:43.737-0700
2020-09-25T18:57:43.764-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin501100110 network=unix timestamp=2020-09-25T18:57:43.764-0700
2020-09-25T18:57:43.764-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:43.820-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:43 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:43.832-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34681
2020-09-25T18:57:43.832-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:43.877-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:43.900-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:43.905-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34684
2020-09-25T18:57:43.905-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:43.913-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34683
2020-09-25T18:57:43.913-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:43.918-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:43.918-0700
2020-09-25T18:57:43.944-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin069079619 network=unix timestamp=2020-09-25T18:57:43.944-0700
2020-09-25T18:57:43.944-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:43.957-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:43.983-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:43.986-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34685
2020-09-25T18:57:43.986-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:43.995-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:43 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:44.000-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:43.999-0700
2020-09-25T18:57:44.026-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: network=unix address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin749362200 timestamp=2020-09-25T18:57:44.026-0700
2020-09-25T18:57:44.026-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
2020-09-25T18:57:44.081-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:44 [DEBUG] GET https://localhost:9200/_xpack/security/role/vault-test
2020-09-25T18:57:44.092-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:44 [DEBUG] POST https://localhost:9200/_xpack/security/user/vault/_password
2020-09-25T18:57:44.168-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34685
2020-09-25T18:57:44.168-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:44.211-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch: configuring client automatic mTLS
2020-09-25T18:57:44.232-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: starting plugin: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch args=[/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch]
2020-09-25T18:57:44.236-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin started: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34686
2020-09-25T18:57:44.237-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: waiting for RPC address: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch
2020-09-25T18:57:44.249-0700 [INFO]  secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: configuring server automatic mTLS: timestamp=2020-09-25T18:57:44.248-0700
2020-09-25T18:57:44.264-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: 2020/09/25 18:57:44 [ERR] POST https://localhost:9200/_xpack/security/user/vault/_password request failed: Post "https://localhost:9200/_xpack/security/user/vault/_password": context canceled
2020-09-25T18:57:44.268-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34684
2020-09-25T18:57:44.268-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
=== RUN   Test_Acceptance
2020/09/25 18:57:33 running tests against the Elasticsearch url provided
2020/09/25 18:57:33 enabling database secrets engine
=== RUN   Test_Acceptance/write_a_config
=== RUN   Test_Acceptance/test_internally_defined_roles
2020/09/25 18:57:33 [DEBUG] DELETE https://localhost:9200/_xpack/security/user/v-token-internally-defi-jydwylNb3TezsuNCLjtc-1601085453
2020/09/25 18:57:33 [DEBUG] DELETE https://localhost:9200/_xpack/security/role/v-token-internally-defi-jydwylNb3TezsuNCLjtc-1601085453
=== RUN   Test_Acceptance/test_externally_defined_roles
2020/09/25 18:57:34 [DEBUG] DELETE https://localhost:9200/_xpack/security/user/v-token-externally-defi-TwRvqOHmWrMZnaj4ATwq-1601085453
=== RUN   Test_Acceptance/test_credential_renewal
=== RUN   Test_Acceptance/test_credential_revocation
=== RUN   Test_Acceptance/test_root_credential_rotation
=== RUN   Test_Acceptance/check_raciness
--- PASS: Test_Acceptance (10.88s)
    --- PASS: Test_Acceptance/write_a_config (0.24s)
    --- PASS: Test_Acceptance/test_internally_defined_roles (0.28s)
    --- PASS: Test_Acceptance/test_externally_defined_roles (0.20s)
    --- PASS: Test_Acceptance/test_credential_renewal (0.01s)
    --- PASS: Test_Acceptance/test_credential_revocation (0.14s)
    --- SKIP: Test_Acceptance/test_root_credential_rotation (0.00s)
    --- PASS: Test_Acceptance/check_raciness (10.00s)
PASS
ok  	github.com/hashicorp/vault-plugin-database-elasticsearch	11.134s
?   	github.com/hashicorp/vault-plugin-database-elasticsearch/cmd/vault-plugin-database-elasticsearch	[no test files]
?   	github.com/hashicorp/vault-plugin-database-elasticsearch/mock	[no test files]
2020-09-25T18:57:44.276-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch.vault-plugin-database-elasticsearch: plugin address: address=/var/folders/6r/jffylrz11b57g8qm78xp9vnc0000gp/T/plugin747007149 network=unix timestamp=2020-09-25T18:57:44.276-0700
2020-09-25T18:57:44.276-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: using plugin: version=5
+ cleanup
+ echo ''

+ echo '==> Cleaning up'
==> Cleaning up
+ kill -INT 34556
+ rm -rf ''
==> Vault shutdown triggered
2020-09-25T18:57:44.303-0700 [DEBUG] core: shutdown called
2020-09-25T18:57:44.303-0700 [INFO]  core: marked as sealed
2020-09-25T18:57:44.303-0700 [DEBUG] core: clearing forwarding clients
2020-09-25T18:57:44.303-0700 [DEBUG] core: done clearing forwarding clients
2020-09-25T18:57:44.332-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin process exited: path=/Users/tvoran/projects/vault-plugin-database-elasticsearch/bin/vault-plugin-database-elasticsearch pid=34686
2020-09-25T18:57:44.332-0700 [DEBUG] secrets.database.database_af46705f.vault-plugin-database-elasticsearch: plugin exited
2020-09-25T18:57:44.332-0700 [DEBUG] core: finished triggering standbyStopCh for runStandby
2020-09-25T18:57:44.332-0700 [DEBUG] core: shutting down periodic key rotation checker
2020-09-25T18:57:44.332-0700 [DEBUG] core: shutting down periodic leader refresh
2020-09-25T18:57:44.332-0700 [DEBUG] core: shutting down leader elections
2020-09-25T18:57:44.332-0700 [INFO]  core: pre-seal teardown starting
  • Backwards compatible
    • Not backwards compatible with old versions of Vault

In DeleteUser, always try deleting the role, since the role name ==
user name, and we don't get the creation_statement in DeleteUser
anymore.
delete the user before the role it uses
Added local_dev.sh and run_acceptance.sh scripts.
@tvoran tvoran marked this pull request as ready for review September 26, 2020 02:04
Copy link
Contributor

@pcman312 pcman312 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall. Almost all small nits with a couple of small changes.

elasticsearch.go Outdated Show resolved Hide resolved
elasticsearch.go Outdated Show resolved Hide resolved
elasticsearch.go Outdated Show resolved Hide resolved
elasticsearch.go Outdated
if err := client.ChangePassword(ctx, req.Username, req.Password.NewPassword); err != nil {
return newdbplugin.UpdateUserResponse{}, fmt.Errorf("unable to change password: %w", err)
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: can you add a comment explicitly saying the expiration change is a no-op?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added in 507cc53

return nil, dbutil.ErrEmptyCreationStatement
}
stmt := &creationStatement{}
if err := json.Unmarshal([]byte(statements.Creation[0]), stmt); err != nil {
return nil, errwrap.Wrapf(fmt.Sprintf("unable to unmarshal %s: {{err}}", []byte(statements.Creation[0])), err)
if err := json.Unmarshal([]byte(statements.Commands[0]), stmt); err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I'm reading this correctly, this function will ignore any commands that aren't in the first index. If so, can you put an error if the length of the commands is >1 so the user doesn't get confused?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, added in 507cc53

if len(configToStore) != len(config) {
t.Fatalf("expected %s, received %s", config, configToStore)
resp := dbtesting.AssertInitialize(t, e.Elasticsearch, req)
if len(resp.Config) != len(req.Config) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this isn't going through a translation layer (like gRPC), the req.Config could be manipulated in place, making these assertions useless. I recommend making an expected response object with a copy of the request config then comparing the two.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, ok, done in 507cc53

}
dbtesting.AssertUpdateUser(t, e.Elasticsearch, req)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also assert that you can log in with the new credentials?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is already being done in the integration tests:

func (e *IntegrationTestEnv) TestElasticsearch_UpdateUser(t *testing.T) {
req := newdbplugin.UpdateUserRequest{
Username: e.Username,
Password: &newdbplugin.ChangePassword{
NewPassword: "new password",
},
}
if !e.tc.Authenticate(t, e.Username, e.Password) {
t.Errorf("want successful authentication, got failed authentication for user:%s with password:%s", e.Username, e.Password)
}
dbtesting.AssertUpdateUser(t, e.Elasticsearch, req)
if e.tc.Authenticate(t, e.Username, e.Password) {
t.Errorf("want authentication failure, got successful authentication for user:%s with password:%s", e.Username, e.Password)
}
if !e.tc.Authenticate(t, e.Username, "new password") {
t.Errorf("want successful authentication, got failed authentication for user:%s with password:%s", e.Username, "new password")
}
}

Seems like that's a better spot since these tests are using a mock elasticsearch.


echo "--> Vault server"
echo " Writing config"
tee "$SCRATCH/vault.hcl" > /dev/null <<EOF
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Why not use -dev-plugin-dir?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, changed in 507cc53

-dev-ha -dev-transactional -dev-root-token-id=root \
&
sleep 2
VAULT_PID=$!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be one line up? Or will it ignore a PID from sleep 2?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, $! is the pid of the last background process, so it ignores the sleep 2. Doesn't hurt to move it up though.

@@ -13,7 +13,7 @@ func main() {
flags := apiClientMeta.FlagSet()
flags.Parse(os.Args[1:])

if err := elasticsearch.Run(apiClientMeta.GetTLSConfig()); err != nil {
if err := elasticsearch.Run(); err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we're punting on AutoMTLS for the time being, this line should be reverted

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done in 507cc53

@tvoran tvoran merged commit f74f951 into master Oct 6, 2020
@tvoran tvoran deleted the VAULT-242/dbpw-elasticsearch branch October 6, 2020 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants