In order to accomplish auto-unseal issue on aws-eks, is it enough to do tasks under the topic or also are there other KMS related tasks must be completed?
seal "awskms" {
region = "KMS_REGION_HERE"
kms_key_id = "KMS_KEY_ID_HERE"
}
Also, regarding to the config example, which one of following partitions is correct? Which one should I put into helm values file?
You need to actually do the key migration itself before you point your Vault at a KMS key.
The first example seems like the right one, it would sort of defeating the purpose of a secret if you had to put the secret itself into your values.yaml file.
Why do I need to migrate things before installation? I haven’t installed anything yet.
If there is already migrated copy of installation, I prefer to start from there.
You can do it either way, you deploy the cluster, manually initialize it (you can have the aws id/secret in your config) if you do then it’ll automatically use the KMS for the key. If you init using shamir then you need to do a key migration after.