title: Token authentication not working when Hashicorp vault is sealed
body: <p>I'm working on a sample application where I want to connect to the Hashicorp vault to get the DB credentials. Below is the bootstrap.yml of my application.</p>
  
  <pre><code>spring:
    application:
      name: phonebook
  
    cloud:
      config:
        uri: http://localhost:8888/
      vault:
        uri: http://localhost:8200
        authentication: token
        token: s.5bXvCP90f4GlQMKrupuQwH7C
  
    profiles:
      active:
      - local,test
  </code></pre>
  
  <p>The application builds properly when the vault server is unsealed. Maven fetches the database username from the vault properly. When I run the build after sealing the vault, the build is failing due to the below error.</p>
  
  <p><code>org.springframework.vault.VaultException: Status 503 Service Unavailable [secret/application]: error performing token check: Vault is sealed; nested exception is org.springframework.web.client.HttpServerErrorException$ServiceUnavailable: 503 Service Unavailable: [{"errors":["error performing token check: Vault is sealed"]}</code></p>
  
  <p>How can I resolve this? I want maven to get the DB username and password during the build without any issues from the vault even when though it is sealed.</p>