Migrate HashiCorp Vault Seal to AWS KMS

Поделиться
HTML-код
  • Опубликовано: 3 дек 2024

Комментарии • 12

  • @agctech
    @agctech 5 месяцев назад

    A new video explaining how to migrate from aws kms to shamir again would be appreciated :)

  • @apedrotti
    @apedrotti Год назад +1

    Amazing explanation. Thanks a lot for sharing.

  • @RafaelDurelli
    @RafaelDurelli Год назад

    Amazing... You help save a significant amount of time. :D

  • @kirannaik6348
    @kirannaik6348 3 месяца назад

    Hi bryan i was installed vault on the cluster in the new name space and service account i'm unable to perform auto unseal using AWSKMS i think i'm missing some points over here i don't have configuration file to change here just i'm creating new file and applying the changes but it is not reflecting

  • @andywatts
    @andywatts Год назад

    if you have a raft cluster, you need to do this "unseal -migrate" on followers, but do a "vault operator step-down" on the leader.

    • @btkrausen
      @btkrausen  Год назад

      Right, each node needs to be migrated separately. You shouldn't have to do a "vault operator step-down" since the first node should automatically become the cluster leader.

  • @arielsbeloved
    @arielsbeloved 10 месяцев назад

    Great tutorial!
    What happened when kms key expired? Do you have to update vault config periodically?

    • @btkrausen
      @btkrausen  10 месяцев назад

      KMS keys in AWS don't expire....unless you schedule it for deletion. But...don't do that, haha. It's the equivalent of encrypting data with a PGP key and then losing the private key - you can't decrypt the data.
      For Vault, this means you will NOT be able to unseal Vault if the service gets restarted, and you should export/migrate data to a new cluster immediately.

  • @Awcator
    @Awcator Год назад

    Thanks we are in exact situation. we just moved from onprem to EKS, we thought of using autounseal.
    Q: Do we have any kubernetes vault operator that does migration ?

    • @btkrausen
      @btkrausen  Год назад

      I don't think the Vault Operator will help with migration in this case.