1
0
mirror of https://github.com/getsops/sops.git synced 2026-02-05 12:45:21 +01:00

19 Commits

Author SHA1 Message Date
AJ Bahnken
6910225545 Adds support for sops publish-ing to Vault (#494)
* Add vault/api to vendor/

* Adds support for sops publish-ing to Vault

* Adds support for publishing secrets (unencrypted) to Vault
* Adds a new EmitAsMap for TreeBanches
* Adds documentation about sops publish-ing to Vault
* Initial integration/functional test for publishing to vault
2019-07-16 14:33:59 -07:00
AJ Bahnken
ebd153f540 Implement sops publish command (#473)
* Implement `sops publish` command

Publishes a file to a pre-configured destination (this lives in the sops
config file). Additionally, support re-encryption rules that work
just like the creation rules. Initial support for S3/GCS.

This is a part of the sops-workspace v2.0 project

Includes the addition of a new dependency:
  github.com/googleapis/gax-go/v2

* code review changes; support global --verbose flag

* Switch to recreation_rule with full support

Reencryption rule is now recreation rule and supports everything that a
creation rule does. Now, when you load a config for a file, you load
either the creation rule or the destination rule. I'm not sure about
this style long term, but it allows for support to be added for the
recreation rules without a bigger refactor of how the config file works.

* split loadForFileFromBytes into two functions

remove branching based on destination rule or not, create one for
creation rules and one for destination rules

* pretty diff for keygroup updates in sops publish
2019-06-27 16:48:54 +00:00
Mark Kelly
ac5ca1f05c AWS Profiles 2019-01-25 12:42:41 +00:00
Adrian Utrilla
9a56f8055e Revert "AWS Profile" 2019-01-24 16:50:41 +01:00
Mark Kelly
7605dd76b1 Added aws_profile
* Decrypt
* Command Line
* Master Key
* Encrypt
* .sops.yaml
2019-01-11 17:11:43 +00:00
Calle Pettersson
19e964ebdd Make Azure key parsing failable 2018-06-18 16:03:24 +02:00
Calle Pettersson
9fa4f0e90e Add support for Azure Key Vault 2018-06-17 22:50:30 +02:00
dovreshef
16950d00d2 Adds unencrypted_suffix and encrypted_suffix to .sops.yaml (#325)
Add the ability to specify `unencrypted_suffix` and `encrypted_suffix` using the `.sops.yaml` config file
2018-04-09 10:50:47 +02:00
Devin Burnette
d3d0267f4e deprecate filename_regex in favor of path_regex 2018-04-02 11:17:45 -04:00
John Turner
102c9e31f0 Update error message based on feedback 2017-10-30 10:09:25 -04:00
John Turner
84f1042988 Don't assert against error message 2017-10-30 10:08:48 -04:00
John Turner
77e90bb7c2 Don't dereference a null pointer if the config file is empty 2017-10-27 22:24:14 -04:00
Calin Don
15ea81dbd2 Add keyservice support 2017-09-18 12:48:37 +03:00
Adrian Utrilla
34c7380d00 Fix golint issues 2017-09-15 14:40:57 -07:00
Adrian Utrilla
bcf8adebea Merge branch 'master' into gcloud-kms 2017-09-15 14:34:02 -07:00
Adrian Utrilla
08a4c7e657 Add documentation to all main packages 2017-09-12 20:01:12 -07:00
Adrian Utrilla
d457e85bad Allow configuring shamir threshold from config file 2017-09-12 13:53:21 -07:00
Adrian Utrilla
00d7a5a1f8 Allow using lists in key groups in .sops.yaml 2017-09-12 11:38:03 -07:00
Adrian Utrilla
93570b20d7 Fix golint errors 2017-09-12 09:59:23 -07:00