Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 1.91 KB

initializing-newly-created-cluster.md

File metadata and controls

34 lines (18 loc) · 1.91 KB

Initializing the newly created cluster

After applying a Terraform code you should get Cluster URL cluster_url. By default, without* configuring certificate by ACM it will looks like:

...
Apply complete! Resources: 70 added, 0 changed, 0 destroyed.

Outputs:

cluster_url = http://tf-vault-ha-basic-alb-123456789.us-east-1.elb.amazonaws.com:443

* you can configure and use Vault cluster without a certificate, but this is strongly NOT RECOMMENDED for production usage. How to configure certificate you can read here

Initialization of the cluster created with an enabled autounseal

  1. Open a cluster URL in a browser and choice Create a new Raft cluster and press Next

    Starting Initializing a Cluster

  2. Enter a number of sets of master keys. You can read about init operator here and concepts here. For more secure provisioning a Keys for separate people you can read here. Just for example, you can enter 1 key shares and 1 key threshold

    Initializing Set a Master Keys

  3. For the easiest case just download unseal keys and root token and go to authenticate screen

    Downloading Keys And Root Token

  4. For logging to the Vault enter the root token got on the previous step

    Sign In To Vault