github.com/opentofu/opentofu@v1.7.1/internal/encryption/keyprovider/meta.go (about) 1 // Copyright (c) The OpenTofu Authors 2 // SPDX-License-Identifier: MPL-2.0 3 // Copyright (c) 2023 HashiCorp, Inc. 4 // SPDX-License-Identifier: MPL-2.0 5 6 package keyprovider 7 8 // KeyMeta is a type alias for a struct annotated with JSON tags to store. Its purpose is to store parameters alongside 9 // the encrypted data which are required to later provide a decryption key. 10 // 11 // Key providers can use this to store, for example, a randomly generated salt value which is required to later provide 12 // the same decryption key. 13 type KeyMeta any