diff --git a/reference/html/README.html b/reference/html/README.html index 3850a198..79fc3d73 100644 --- a/reference/html/README.html +++ b/reference/html/README.html @@ -193,24 +193,29 @@ $(addBlockSwitches);

wget, openssl and unzip

  • -

    at least Java 7 and a properly configured JAVA_HOME environment variable

    +

    at least Java 8 and a properly configured JAVA_HOME environment variable

  • +
    + + + + + +
    + + +This guide explains Vault setup from a Spring Cloud Vault perspective for integration testing. You can find a getting started guide directly on the Vault project site: https://learn.hashicorp.com/vault +
    +

    Install Vault

    -
    $ src/test/bash/install_vault.sh
    -
    -
    -
    -

    Create SSL certificates for Vault

    -
    -
    -
    -
    $ src/test/bash/create_certificates.sh
    +
    $ wget https://releases.hashicorp.com/vault/${vault_version}/vault_${vault_version}_${platform}.zip
    +$ unzip vault_${vault_version}_${platform}.zip
    @@ -220,7 +225,41 @@ $(addBlockSwitches); -create_certificates.sh creates certificates in work/ca and a JKS truststore work/keystore.jks. If you want to run Spring Cloud Vault using this quickstart guide you need to configure the truststore the spring.cloud.vault.ssl.trust-store property to file:work/keystore.jks. +These steps can be achieved by downloading and running install_vault.sh. + + + +
    +
    +

    Create SSL certificates for Vault

    +
    +
    +

    Next, you’r required to generate a set of certificates:

    +
    +
    + +
    +
    +

    Make sure to import the Root Certificate into a Java-compliant truststore.

    +
    +
    +

    The easiest way to achieve this is by using OpenSSL.

    +
    +
    + + + +
    + + +create_certificates.sh creates certificates in work/ca and a JKS truststore work/keystore.jks. If you want to run Spring Cloud Vault using this quickstart guide you need to configure the truststore the spring.cloud.vault.ssl.trust-store property to file:work/keystore.jks.
    @@ -228,14 +267,42 @@ $(addBlockSwitches);

    Start Vault server

    +
    +

    Next create a config file along the lines of:

    +
    -
    $ src/test/bash/local_run_vault.sh
    +
    backend "inmem" {
    +}
    +
    +listener "tcp" {
    +  address = "0.0.0.0:8200"
    +  tls_cert_file = "work/ca/certs/localhost.cert.pem"
    +  tls_key_file = "work/ca/private/localhost.decrypted.key.pem"
    +}
    +
    +disable_mlock = true
    +
    +
    +
    + + + + + +
    + + +You can find an example config file at vault.conf. +
    +
    +
    +
    +
    $ vault server -config=vault.conf
    -

    Vault is started listening on 0.0.0.0:8200 using the inmem storage and -https. +

    Vault is started listening on 0.0.0.0:8200 using the inmem storage and https. Vault is sealed and not initialized when starting up.

    diff --git a/reference/html/index.html b/reference/html/index.html index 70636bb5..f45df603 100644 --- a/reference/html/index.html +++ b/reference/html/index.html @@ -188,24 +188,29 @@ $(addBlockSwitches);

    wget, openssl and unzip

  • -

    at least Java 7 and a properly configured JAVA_HOME environment variable

    +

    at least Java 8 and a properly configured JAVA_HOME environment variable

  • +
    + + + + + +
    + + +This guide explains Vault setup from a Spring Cloud Vault perspective for integration testing. You can find a getting started guide directly on the Vault project site: https://learn.hashicorp.com/vault +
    +

    Install Vault

    -
    $ src/test/bash/install_vault.sh
    -
    -
    -
    -

    Create SSL certificates for Vault

    -
    -
    -
    -
    $ src/test/bash/create_certificates.sh
    +
    $ wget https://releases.hashicorp.com/vault/${vault_version}/vault_${vault_version}_${platform}.zip
    +$ unzip vault_${vault_version}_${platform}.zip
    @@ -215,7 +220,41 @@ $(addBlockSwitches); -create_certificates.sh creates certificates in work/ca and a JKS truststore work/keystore.jks. If you want to run Spring Cloud Vault using this quickstart guide you need to configure the truststore the spring.cloud.vault.ssl.trust-store property to file:work/keystore.jks. +These steps can be achieved by downloading and running install_vault.sh. + + + +
    +
    +

    Create SSL certificates for Vault

    +
    +
    +

    Next, you’r required to generate a set of certificates:

    +
    +
    + +
    +
    +

    Make sure to import the Root Certificate into a Java-compliant truststore.

    +
    +
    +

    The easiest way to achieve this is by using OpenSSL.

    +
    +
    + + + +
    + + +create_certificates.sh creates certificates in work/ca and a JKS truststore work/keystore.jks. If you want to run Spring Cloud Vault using this quickstart guide you need to configure the truststore the spring.cloud.vault.ssl.trust-store property to file:work/keystore.jks.
    @@ -223,14 +262,42 @@ $(addBlockSwitches);

    Start Vault server

    +
    +

    Next create a config file along the lines of:

    +
    -
    $ src/test/bash/local_run_vault.sh
    +
    backend "inmem" {
    +}
    +
    +listener "tcp" {
    +  address = "0.0.0.0:8200"
    +  tls_cert_file = "work/ca/certs/localhost.cert.pem"
    +  tls_key_file = "work/ca/private/localhost.decrypted.key.pem"
    +}
    +
    +disable_mlock = true
    +
    +
    +
    + + + + + +
    + + +You can find an example config file at vault.conf. +
    +
    +
    +
    +
    $ vault server -config=vault.conf
    -

    Vault is started listening on 0.0.0.0:8200 using the inmem storage and -https. +

    Vault is started listening on 0.0.0.0:8200 using the inmem storage and https. Vault is sealed and not initialized when starting up.

    diff --git a/reference/html/quickstart.html b/reference/html/quickstart.html index 72647558..a4a587e1 100644 --- a/reference/html/quickstart.html +++ b/reference/html/quickstart.html @@ -119,24 +119,29 @@ $(addBlockSwitches);

    wget, openssl and unzip

  • -

    at least Java 7 and a properly configured JAVA_HOME environment variable

    +

    at least Java 8 and a properly configured JAVA_HOME environment variable

  • +
    + + + + + +
    + + +This guide explains Vault setup from a Spring Cloud Vault perspective for integration testing. You can find a getting started guide directly on the Vault project site: https://learn.hashicorp.com/vault +
    +

    Install Vault

    -
    $ src/test/bash/install_vault.sh
    -
    -
    -
    -

    Create SSL certificates for Vault

    -
    -
    -
    -
    $ src/test/bash/create_certificates.sh
    +
    $ wget https://releases.hashicorp.com/vault/${vault_version}/vault_${vault_version}_${platform}.zip
    +$ unzip vault_${vault_version}_${platform}.zip
    @@ -146,7 +151,41 @@ $(addBlockSwitches); -create_certificates.sh creates certificates in work/ca and a JKS truststore work/keystore.jks. If you want to run Spring Cloud Vault using this quickstart guide you need to configure the truststore the spring.cloud.vault.ssl.trust-store property to file:work/keystore.jks. +These steps can be achieved by downloading and running install_vault.sh. + + + +
    +
    +

    Create SSL certificates for Vault

    +
    +
    +

    Next, you’r required to generate a set of certificates:

    +
    +
    +
      +
    • +

      Root CA

      +
    • +
    • +

      Vault Certificate (decryted key work/ca/private/localhost.decrypted.key.pem and certificate work/ca/certs/localhost.cert.pem)

      +
    • +
    +
    +
    +

    Make sure to import the Root Certificate into a Java-compliant truststore.

    +
    +
    +

    The easiest way to achieve this is by using OpenSSL.

    +
    +
    + + + +
    + + +create_certificates.sh creates certificates in work/ca and a JKS truststore work/keystore.jks. If you want to run Spring Cloud Vault using this quickstart guide you need to configure the truststore the spring.cloud.vault.ssl.trust-store property to file:work/keystore.jks.
    @@ -154,14 +193,42 @@ $(addBlockSwitches);

    Start Vault server

    +
    +

    Next create a config file along the lines of:

    +
    -
    $ src/test/bash/local_run_vault.sh
    +
    backend "inmem" {
    +}
    +
    +listener "tcp" {
    +  address = "0.0.0.0:8200"
    +  tls_cert_file = "work/ca/certs/localhost.cert.pem"
    +  tls_key_file = "work/ca/private/localhost.decrypted.key.pem"
    +}
    +
    +disable_mlock = true
    +
    +
    +
    + + + + + +
    + + +You can find an example config file at vault.conf. +
    +
    +
    +
    +
    $ vault server -config=vault.conf
    -

    Vault is started listening on 0.0.0.0:8200 using the inmem storage and -https. +

    Vault is started listening on 0.0.0.0:8200 using the inmem storage and https. Vault is sealed and not initialized when starting up.

    diff --git a/reference/html/spring-cloud-vault.html b/reference/html/spring-cloud-vault.html index 70636bb5..f45df603 100644 --- a/reference/html/spring-cloud-vault.html +++ b/reference/html/spring-cloud-vault.html @@ -188,24 +188,29 @@ $(addBlockSwitches);

    wget, openssl and unzip

  • -

    at least Java 7 and a properly configured JAVA_HOME environment variable

    +

    at least Java 8 and a properly configured JAVA_HOME environment variable

  • +
    + + + + + +
    + + +This guide explains Vault setup from a Spring Cloud Vault perspective for integration testing. You can find a getting started guide directly on the Vault project site: https://learn.hashicorp.com/vault +
    +

    Install Vault

    -
    $ src/test/bash/install_vault.sh
    -
    -
    -
    -

    Create SSL certificates for Vault

    -
    -
    -
    -
    $ src/test/bash/create_certificates.sh
    +
    $ wget https://releases.hashicorp.com/vault/${vault_version}/vault_${vault_version}_${platform}.zip
    +$ unzip vault_${vault_version}_${platform}.zip
    @@ -215,7 +220,41 @@ $(addBlockSwitches); -create_certificates.sh creates certificates in work/ca and a JKS truststore work/keystore.jks. If you want to run Spring Cloud Vault using this quickstart guide you need to configure the truststore the spring.cloud.vault.ssl.trust-store property to file:work/keystore.jks. +These steps can be achieved by downloading and running install_vault.sh. + + + +
    +
    +

    Create SSL certificates for Vault

    +
    +
    +

    Next, you’r required to generate a set of certificates:

    +
    +
    +
      +
    • +

      Root CA

      +
    • +
    • +

      Vault Certificate (decryted key work/ca/private/localhost.decrypted.key.pem and certificate work/ca/certs/localhost.cert.pem)

      +
    • +
    +
    +
    +

    Make sure to import the Root Certificate into a Java-compliant truststore.

    +
    +
    +

    The easiest way to achieve this is by using OpenSSL.

    +
    +
    + + + +
    + + +create_certificates.sh creates certificates in work/ca and a JKS truststore work/keystore.jks. If you want to run Spring Cloud Vault using this quickstart guide you need to configure the truststore the spring.cloud.vault.ssl.trust-store property to file:work/keystore.jks.
    @@ -223,14 +262,42 @@ $(addBlockSwitches);

    Start Vault server

    +
    +

    Next create a config file along the lines of:

    +
    -
    $ src/test/bash/local_run_vault.sh
    +
    backend "inmem" {
    +}
    +
    +listener "tcp" {
    +  address = "0.0.0.0:8200"
    +  tls_cert_file = "work/ca/certs/localhost.cert.pem"
    +  tls_key_file = "work/ca/private/localhost.decrypted.key.pem"
    +}
    +
    +disable_mlock = true
    +
    +
    +
    + + + + + +
    + + +You can find an example config file at vault.conf. +
    +
    +
    +
    +
    $ vault server -config=vault.conf
    -

    Vault is started listening on 0.0.0.0:8200 using the inmem storage and -https. +

    Vault is started listening on 0.0.0.0:8200 using the inmem storage and https. Vault is sealed and not initialized when starting up.