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

145 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
d61906ab3e Merge branch 'master' into develop 2019-06-11 18:21:55 +00:00
Michael
6b68dcb6e3 Remove duplicate sentence from readme (#475) 2019-06-11 13:06:47 +02:00
Teppei Fukuda
300927c38a Update README.rst (#469)
* Update README.rst

* Update README.rst
2019-05-27 12:29:41 +02:00
Tariq Ibrahim
0bca3f96fc use golang 1.12 for building sops 2019-05-20 23:24:43 -07:00
AJ Bahnken
b3a11d3bfc Changes to travis config and docs for using develop (#462)
* Fixes integration tests in travis to not run on PR's (they will now
run on merges into `develop` and `master`)
* Change README.rst and CONTRIBUTING.md to reflect the use of `develop`
as the primary development branch
2019-05-16 21:29:16 +00:00
Ken Tso
8118803376 expand file path to full path before processing
so that `path_regex` can match on the full path
2019-05-16 13:15:36 +09:00
Julien Vehent [:ulfr]
c3c3b7c76d Update README.rst 2019-03-13 18:37:43 -04:00
Julien Vehent [:ulfr]
fde9400161 Update README.rst 2019-03-13 18:36:53 -04:00
Julien Vehent [:ulfr]
e37f109227 Update README.rst 2019-03-13 18:35:49 -04:00
Julien Vehent [:ulfr]
f7b8671909 Update README.rst 2019-03-13 18:35:30 -04:00
rabadin
bca9526566 Rewiew fix: update documentation 2019-03-12 13:57:12 +01:00
rabadin
410a687a35 Add support for custom GPG key servers
Add support for the SOPS_GPG_KEYSERVER environment variable to
override the default GPG key server (gpg.mozilla.org).
2019-03-12 12:17:33 +01:00
Julien Vehent [:ulfr]
3664649ec8 Update README.rst 2019-03-02 07:58:26 -05: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
eb7b22a4a0 Merge branch 'master' into master 2019-01-14 10:44:55 +00:00
Mark Kelly
cc3fec53a2 README update 2019-01-14 10:22:16 +00:00
Mark Kelly
7605dd76b1 Added aws_profile
* Decrypt
* Command Line
* Master Key
* Encrypt
* .sops.yaml
2019-01-11 17:11:43 +00:00
Patrick Armstrong
778bddc78b Add clarification of filetypes to README. 2019-01-10 21:41:46 -08:00
James Robson
dfa150bf75 Add multidoc encrypt/decrypt for YAML sources 2018-11-21 09:00:49 -07:00
Maximilian Roos
6f77fcff39 use check_output 2018-11-20 11:07:10 -05:00
Maximilian Roos
1ade1170db Note using the python library uses the older impl 2018-11-20 10:24:27 -05:00
Kuntal Majumder
f51dd00fd1 Updated docs with the --ouput flag description 2018-10-24 23:40:48 +05:30
Katie McLaughlin
fbe545dce1 Minor spot corrections 2018-10-02 11:02:57 +10:00
Katie McLaughlin
5736966f4b Update RST Syntax
* inline code - double ticks
* bash examples - use `..code` blocks, prepend commands with `$`
* correct some linking

Most corrections markdown -> rst
2018-10-02 10:58:10 +10:00
0xflotus
0ab9edb3c8 fixed symmetric 2018-09-19 21:20:14 +02:00
Nick
cf44114302 Update README.rst
Gopath export did not work previously on Ubuntu 16.04
2018-09-03 14:59:42 +02:00
Calle Pettersson
2e5b18e826 Fix random name length 2018-06-25 10:37:34 +02:00
Calle Pettersson
98f687c01f Fix Azure instructions 2018-06-22 11:18:57 +02:00
Calle Pettersson
88db2dcab6 Add Azure Service Principal help 2018-06-21 16:39:33 +02:00
Calle Pettersson
43fa5e5d65 Add readme for Azure 2018-06-21 15:32:10 +02:00
Jesse Cooke
50f2a8c694 Update rotation steps to use -i (#352) 2018-05-18 19:06:19 +02:00
Adrian Utrilla
e9550cdcbd Document lack of YAML stream support (#351)
Fixes #350
2018-05-17 18:22:48 +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
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
Dov Reshef
ed934575ee Address review comments 2018-04-08 17:53:54 +03:00
Devin Burnette
d3d0267f4e deprecate filename_regex in favor of path_regex 2018-04-02 11:17:45 -04:00
snebel29
0a9608e541 Add gcp example for .sops.yaml file 2018-02-01 14:16:17 +00:00
Julien Vehent [:ulfr]
64c8236e4d Merge branch 'master' into improvement/readme-minor-improvements 2018-01-18 17:05:06 -05:00
snebel29
2f12bfd3c9 Improve KMS GCP examples to make it easier for first timers 2018-01-16 16:02:48 +00:00
snebel29
8e3ce41591 Add encryption flag to the encryption example 2018-01-16 14:53:51 +00:00
snebel29
9f68cf00f0 Format gcloud auth login block command correctly 2018-01-16 14:53:14 +00:00
snebel29
9adc47c915 Add GCP KMS to the list of valid key management services 2018-01-16 14:50:43 +00:00
Adrian Utrilla
6948d7e676 Update --set and --extract examples
The examples for --set and --extract were based on the Python version, and the command line handling has changed slightly for the Go version.
2018-01-16 08:48:39 +01:00
Marc Villacorta
d0496a195b Fix gpg import statement 2017-11-20 11:01:57 +01:00
Adrian Utrilla
48bdbf356e Update README.rst 2017-10-25 19:49:35 +02:00
Philip Cristiano
4a792cd1fc readme: Fix typo 2017-10-25 13:42:24 -04:00
Julien Vehent [:ulfr]
1ca4fa23d4 Merge branch 'master' into sops3 2017-10-10 13:36:33 -04:00