On Linux, this would be $XDG_CONFIG_HOME/sops/age/keys.txt. Text file name keys.txt located in a sops subdirectory of your userĬonfiguration directory. When decrypting a file with the corresponding identity, SOPS will look for a $ sops -encrypt -age age1yt3tfqlfrwdwx0z0ynwplcr6qxcxfaqycuprpmy89nr83ltx74tqdpszlw test.yaml > To decrypt a file in a cat fashion, use the -d flag: As long as one of the KMS or PGP method is still usable, you will be able =oJgS -END PGP MESSAGE-Ī copy of the encryption/decryption key is stored securely in each KMS and PGPīlock. User: ENC password: ENC # private key for secret operations in app2 key: |- ENC an_array: Recommended to use at least two master keys in different regions. If you're using AWS KMS, create one or multiple master keys in the IAM consoleĪnd export them, comma separated, in the SOPS_KMS_ARN env variable. 7.1 Compromised AWS credentials grant access to KMS master keyįor a quick presentation of SOPS, check out this Youtube tutorial:.6.2 KMS, Trust and secrets distribution.4.5 Extract a sub-part of a document tree.3.1 YAML, JSON, ENV and INI type extensions.2.18 Passing Secrets to Other Processes.2.13 Specify a different GPG key server.2.12 Specify a different GPG executable.sops.yaml conf to select KMS, PGP and age for new files 2.8 Assuming roles and using KMS in various AWS accounts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |