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

34 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
AJ Bahnken
15dfcfafcb Vendoring update (#472)
It's been around 9 months since our last vendor update. This is also
needed for some new features being worked on for sops workspace.

Additionally, this PR regenerates the kms mocks.
2019-06-06 17:40:34 +00:00
James Robson
dfa150bf75 Add multidoc encrypt/decrypt for YAML sources 2018-11-21 09:00:49 -07:00
Adrian Utrilla
2c371ce664 Vendor pkg/errors 2018-10-04 11:48:28 +02:00
olevchyk
21a6083e55 removed errors from vendor 2018-10-04 11:39:11 +02:00
olevchyk
655d02f0ce added errors to vendor 2018-10-04 11:34:41 +02:00
Julien Vehent
be8cf332db vendoring update 2018-09-13 08:34:51 -04:00
Adrian Utrilla
34c5324d34 Update go-autorest 2018-06-21 10:57:23 +02:00
Adrian Utrilla
fa570f47b4 Vendor Azure SDK 2018-06-19 08:00:24 +02:00
AJ Bahnken
038001b3a3 Auditing support
* Implement auditing support

* Document auditing

* Address review comments

* Change log level for errors reading audit config

* Disable auditors during tests

* Make changes to docs suggested by @jvehent

* Code review fixes to init() in audit.go

* Implement encrypt audit event

* Include filepath in Tree created from sops/encrypt/encrypt

* Fix changes in audit.go to stay with current style

* Implement RotateEvent within rotate command

* github.com/lib/pq vendor dependencies

* Always get current user in PostgresAuditor.Handle()

* Initial CR fixes + gofmt

* gofmt

* fixed placement of audit event in rotate()

* Moved to a single table for audit events.

* Revert "Moved to a single table for audit events."

This reverts commit 7e7817e8a1.

* Remove audit tables delete protection rules

* Move to a single audit_event table with action column

* Remove unnecessary tree declaration
2018-04-22 21:21:58 +02:00
Adrian Utrilla
4725e09e44 Update vendored dependencies 2018-03-30 21:19:35 +02:00
Adrian Utrilla
da457a9e11 Update yaml parser 2018-02-23 18:57:27 +01:00
Adrian Utrilla
b6c7baa437 Vendor dependencies 2017-10-10 09:52:53 -07:00
Adrian Utrilla
31785179ac Vendor dependencies 2017-09-26 17:26:41 -07:00
Adrian Utrilla
94a7c6771d Update dependencies 2017-09-13 09:59:34 -07:00
Adrian Utrilla
d4b3003851 Vendor shlex 2017-05-26 11:49:10 +02:00
Julien Vehent
b7c1929c8e Vendoring update, release 2.0.9 2017-05-01 18:37:35 -04:00
Aaron Meihm
0f4723b3fb vendor update aws-sdk-go 2017-03-06 14:03:15 -06:00
Julien Vehent
f69db2a401 vendoring update 2017-02-21 16:06:38 -05:00
Julien Vehent
85fc755403 vendoring update 2017-01-22 12:39:39 -05:00
Julien Vehent
06739a8b83 vendoring update 2017-01-22 11:17:16 -05:00
Julien Vehent
9689bf60a4 Vendoring update 2016-12-02 11:56:05 -05:00
Julien Vehent
1e25c7503a vendoring update, move from godep to govend 2016-11-04 12:37:53 -04:00
Adrian Utrilla
c9370b2eaf Updated vendored libs 2016-10-27 19:26:39 +02:00
Julien Vehent
8e933ab7c9 vendoring update 2016-10-27 08:43:17 -04:00
Adrian Utrilla
9c0a725640 Updated vendored deps 2016-10-26 21:15:36 +02:00
Adrian Utrilla
27b8a58114 Updated vendored libs 2016-08-25 13:07:17 -07:00
Adrian Utrilla
4e4abff176 Mocked KMS Encrypt and Decrypt methods 2016-08-25 13:06:51 -07:00
Adrian Utrilla
3f93e6c72f Updated deps 2016-08-24 16:41:08 -07:00
Adrian Utrilla
b5085cea6d Removed vendored deps to ease code review 2016-08-18 16:44:53 -07:00
Adrian Utrilla
d37e788342 Updated vendored code 2016-08-05 15:42:35 -07:00
Adrian Utrilla
49e7bbe86a Removed Python and Go version 2016-08-05 15:20:31 -07:00
Jeremiah Orem
b3653054e2 vendor(aws): v1.1.31 2016-05-27 10:51:23 -07:00