Feature Preview: State Encryption

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

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

  • @OpenTofu
    @OpenTofu  6 месяцев назад

    Do you want a quick overview? Here's the short version: ruclips.net/user/shortsYEn2wGhhkbI

  • @yousifakbar
    @yousifakbar 6 месяцев назад

    As a user of OpenTofu, how can I programmatically determine which key is currently used for encryption of something that tofu is encrypting? It seems like whether or not an apply has been run will determine this.

    • @OpenTofu
      @OpenTofu  6 месяцев назад +1

      Thank you for the question @yousifakbar. For encryption, OpenTofu will always use the method you specified in the target block, such as statefile{}, planfile{}, etc. It will never use the fallback block for encryption, only for decryption. The method itself is then linked to a key provider, so your key provider is where you control which key to use. In practice, that will either be a passphrase provider or a KMS system.