envkey 1.2.2 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/ext/{envkey-fetch_1.2.2_darwin_386 → envkey-fetch_1.2.4_darwin_386}/LICENSE +0 -0
  3. data/ext/{envkey-fetch_1.2.2_darwin_amd64 → envkey-fetch_1.2.4_darwin_386}/README.md +10 -6
  4. data/ext/{envkey-fetch_1.2.2_darwin_386 → envkey-fetch_1.2.4_darwin_386}/envkey-fetch +0 -0
  5. data/ext/{envkey-fetch_1.2.2_darwin_amd64 → envkey-fetch_1.2.4_darwin_amd64}/LICENSE +0 -0
  6. data/ext/{envkey-fetch_1.2.2_darwin_386 → envkey-fetch_1.2.4_darwin_amd64}/README.md +10 -6
  7. data/ext/{envkey-fetch_1.2.2_darwin_amd64 → envkey-fetch_1.2.4_darwin_amd64}/envkey-fetch +0 -0
  8. data/ext/{envkey-fetch_1.2.2_freebsd_386 → envkey-fetch_1.2.4_freebsd_386}/LICENSE +0 -0
  9. data/ext/{envkey-fetch_1.2.2_freebsd_386 → envkey-fetch_1.2.4_freebsd_386}/README.md +10 -6
  10. data/ext/{envkey-fetch_1.2.2_freebsd_386 → envkey-fetch_1.2.4_freebsd_386}/envkey-fetch +0 -0
  11. data/ext/{envkey-fetch_1.2.2_freebsd_amd64 → envkey-fetch_1.2.4_freebsd_amd64}/LICENSE +0 -0
  12. data/ext/{envkey-fetch_1.2.2_freebsd_amd64 → envkey-fetch_1.2.4_freebsd_amd64}/README.md +10 -6
  13. data/ext/{envkey-fetch_1.2.2_freebsd_amd64 → envkey-fetch_1.2.4_freebsd_amd64}/envkey-fetch +0 -0
  14. data/ext/{envkey-fetch_1.2.2_linux_386 → envkey-fetch_1.2.4_linux_386}/LICENSE +0 -0
  15. data/ext/envkey-fetch_1.2.4_linux_386/README.md +90 -0
  16. data/ext/{envkey-fetch_1.2.2_linux_386 → envkey-fetch_1.2.4_linux_386}/envkey-fetch +0 -0
  17. data/ext/{envkey-fetch_1.2.2_linux_amd64 → envkey-fetch_1.2.4_linux_amd64}/LICENSE +0 -0
  18. data/ext/envkey-fetch_1.2.4_linux_amd64/README.md +90 -0
  19. data/ext/{envkey-fetch_1.2.2_linux_amd64 → envkey-fetch_1.2.4_linux_amd64}/envkey-fetch +0 -0
  20. data/ext/{envkey-fetch_1.2.2_windows_386 → envkey-fetch_1.2.4_windows_386}/LICENSE +0 -0
  21. data/ext/envkey-fetch_1.2.4_windows_386/README.md +90 -0
  22. data/ext/{envkey-fetch_1.2.2_windows_386 → envkey-fetch_1.2.4_windows_386}/envkey-fetch.exe +0 -0
  23. data/ext/{envkey-fetch_1.2.2_windows_amd64 → envkey-fetch_1.2.4_windows_amd64}/LICENSE +0 -0
  24. data/ext/envkey-fetch_1.2.4_windows_amd64/README.md +90 -0
  25. data/ext/{envkey-fetch_1.2.2_windows_amd64 → envkey-fetch_1.2.4_windows_amd64}/envkey-fetch.exe +0 -0
  26. data/lib/envkey/version.rb +2 -2
  27. metadata +26 -26
  28. data/ext/envkey-fetch_1.2.2_linux_386/README.md +0 -86
  29. data/ext/envkey-fetch_1.2.2_linux_amd64/README.md +0 -86
  30. data/ext/envkey-fetch_1.2.2_windows_386/README.md +0 -86
  31. data/ext/envkey-fetch_1.2.2_windows_amd64/README.md +0 -86
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 185dd43fc23146eb2783bd605f0c66912ff2f88ed010f43dd7ab68e5db45f849
4
- data.tar.gz: 094b6d6cb28303270b3573b0180a1bc8f7908a630a0e0dc89fce54f081617fe1
3
+ metadata.gz: f799266aa9cf4bc610eb405859d015785ae82a22c3c3736ad65ebd2846625662
4
+ data.tar.gz: 029bdce547ebbc179d30da9dd068ea263c01a9099285f9652c2919dfea3a751d
5
5
  SHA512:
6
- metadata.gz: 3a7d845a97e9a4a9573675f87bebf85c036541a2b7cbad6bdd9e7c5fc60f475ac8d84af1829329cad8b0602beda1bb080235a93b9dcc6434505dff6247c5f471
7
- data.tar.gz: 51422d593a1c35c16054789fc4a50bfdcd0db8585e68f332fcc1f1c0fcea14eda97adb66005cd6332eafbe797cd51c995943454b3cbfbf5b4f683a2616e0c5a5
6
+ metadata.gz: 265790bb046fef50a1f7b124bd8bef9810c83d83678fc00409a778de3aadf336deb94b7b67fe82fcb117cf532e62d33135bae29bb329b5c3843e129324fefa56
7
+ data.tar.gz: 7f105618223aed133ae780111f83c0a1220b535c0be6bc08bccc9a377246e6fb61e512bee04724b2fa6c932c8a2306440441399741861a98fb4e54f657f20d52
@@ -57,12 +57,16 @@ error: ENVKEY invalid
57
57
  ### Flags
58
58
 
59
59
  ```text
60
- --cache cache encrypted config as a local backup (default is false)
61
- --cache-dir string cache directory (default is $HOME/.envkey/cache)
62
- -h, --help help for envkey-fetch
63
- -v, --version prints the version
64
- --verbose print verbose output (default is false)
65
- --timeout float timeout in seconds for http requests (default 2)
60
+ --cache cache encrypted config as a local backup (default is false)
61
+ --cache-dir string cache directory (default is $HOME/.envkey/cache)
62
+ --client-name string calling client library name (default is none)
63
+ --client-version string calling client library version (default is none)
64
+ -h, --help help for envkey-fetch
65
+ --retries uint8 number of times to retry requests on failure (default 3)
66
+ --retryBackoff float retry backoff factor: {retryBackoff} * (2 ^ {retries - 1}) (default 1)
67
+ --timeout float timeout in seconds for http requests (default 10)
68
+ --verbose print verbose output (default is false)
69
+ -v, --version prints the version
66
70
  ```
67
71
 
68
72
  ## Further Reading
@@ -57,12 +57,16 @@ error: ENVKEY invalid
57
57
  ### Flags
58
58
 
59
59
  ```text
60
- --cache cache encrypted config as a local backup (default is false)
61
- --cache-dir string cache directory (default is $HOME/.envkey/cache)
62
- -h, --help help for envkey-fetch
63
- -v, --version prints the version
64
- --verbose print verbose output (default is false)
65
- --timeout float timeout in seconds for http requests (default 2)
60
+ --cache cache encrypted config as a local backup (default is false)
61
+ --cache-dir string cache directory (default is $HOME/.envkey/cache)
62
+ --client-name string calling client library name (default is none)
63
+ --client-version string calling client library version (default is none)
64
+ -h, --help help for envkey-fetch
65
+ --retries uint8 number of times to retry requests on failure (default 3)
66
+ --retryBackoff float retry backoff factor: {retryBackoff} * (2 ^ {retries - 1}) (default 1)
67
+ --timeout float timeout in seconds for http requests (default 10)
68
+ --verbose print verbose output (default is false)
69
+ -v, --version prints the version
66
70
  ```
67
71
 
68
72
  ## Further Reading
@@ -57,12 +57,16 @@ error: ENVKEY invalid
57
57
  ### Flags
58
58
 
59
59
  ```text
60
- --cache cache encrypted config as a local backup (default is false)
61
- --cache-dir string cache directory (default is $HOME/.envkey/cache)
62
- -h, --help help for envkey-fetch
63
- -v, --version prints the version
64
- --verbose print verbose output (default is false)
65
- --timeout float timeout in seconds for http requests (default 2)
60
+ --cache cache encrypted config as a local backup (default is false)
61
+ --cache-dir string cache directory (default is $HOME/.envkey/cache)
62
+ --client-name string calling client library name (default is none)
63
+ --client-version string calling client library version (default is none)
64
+ -h, --help help for envkey-fetch
65
+ --retries uint8 number of times to retry requests on failure (default 3)
66
+ --retryBackoff float retry backoff factor: {retryBackoff} * (2 ^ {retries - 1}) (default 1)
67
+ --timeout float timeout in seconds for http requests (default 10)
68
+ --verbose print verbose output (default is false)
69
+ -v, --version prints the version
66
70
  ```
67
71
 
68
72
  ## Further Reading
@@ -57,12 +57,16 @@ error: ENVKEY invalid
57
57
  ### Flags
58
58
 
59
59
  ```text
60
- --cache cache encrypted config as a local backup (default is false)
61
- --cache-dir string cache directory (default is $HOME/.envkey/cache)
62
- -h, --help help for envkey-fetch
63
- -v, --version prints the version
64
- --verbose print verbose output (default is false)
65
- --timeout float timeout in seconds for http requests (default 2)
60
+ --cache cache encrypted config as a local backup (default is false)
61
+ --cache-dir string cache directory (default is $HOME/.envkey/cache)
62
+ --client-name string calling client library name (default is none)
63
+ --client-version string calling client library version (default is none)
64
+ -h, --help help for envkey-fetch
65
+ --retries uint8 number of times to retry requests on failure (default 3)
66
+ --retryBackoff float retry backoff factor: {retryBackoff} * (2 ^ {retries - 1}) (default 1)
67
+ --timeout float timeout in seconds for http requests (default 10)
68
+ --verbose print verbose output (default is false)
69
+ -v, --version prints the version
66
70
  ```
67
71
 
68
72
  ## Further Reading
@@ -0,0 +1,90 @@
1
+ # envkey-fetch
2
+
3
+ This library contains [EnvKey](https://www.envkey.com)'s core cross-platform fetching, decryption, verification, web of trust, redundancy, and caching logic. It accepts an `ENVKEY` generated by the [EnvKey App](https://www.github.com/envkey/envkey-app) and returns decrypted configuration for a specific app environment as json.
4
+
5
+ It is used by EnvKey's various Client Libraries, including [envkey-source](https://github.com/envkey/envkey-source) for bash, [envkey-ruby](https://github.com/envkey/envkey-ruby) for Ruby and Rails, [envkey-python](https://github.com/envkey/envkey-python) for Python, [envkey-node](https://github.com/envkey/envkey-node) for Node.js, and [envkeygo](https://github.com/envkey/envkeygo) for Go.
6
+
7
+ If you want to build an EnvKey library in a language that isn't yet officially supported, build some other type of integration, or simply play around with EnvKey on the command line, envkey-fetch is the library for you. If you just want to integrate EnvKey with your project, check out one of the aforementioned higher level libraries.
8
+
9
+ ## Installation
10
+
11
+ envkey-fetch compiles into a simple static binary with no dependencies, which makes installation a simple matter of fetching the right binary for your platform and putting it in your `PATH`. An `install.sh` script is available to simplify this.
12
+
13
+ **Install via bash:**
14
+
15
+ ```bash
16
+ curl -s https://raw.githubusercontent.com/envkey/envkey-fetch/master/install.sh | bash
17
+ ```
18
+
19
+ **Install manually:**
20
+
21
+ Find the [release](https://github.com/envkey/envkey-fetch/releases) for your platform and architecture, and stick the appropriate binary somewhere in your `PATH` (or wherever you like really).
22
+
23
+ **Install from source:**
24
+
25
+ With Go installed, clone the project into your `GOPATH`. `cd` into the directory and run `go get` and `go build`.
26
+
27
+ **Cross-compile from source:**
28
+
29
+ To compile cross-platform binaries, make sure Go is installed, then install [goreleaser](https://goreleaser.com/) - follow instructions in the docs to do so.
30
+
31
+ Then to cross-compile, run:
32
+
33
+ `goreleaser`
34
+
35
+ Binaries for each platform will be output to the `dist` folder.
36
+
37
+ ## Usage
38
+
39
+ ```bash
40
+ envkey-fetch YOUR-ENVKEY [flags]
41
+ ```
42
+
43
+ This will either write your the app environment's configuration associated with your `ENVKEY` as json to stdout or write an error message beginning with `error:` to stdout.
44
+
45
+ ### Example json output
46
+
47
+ ```json
48
+ {"TEST":"it","TEST_2":"works!"}
49
+ ```
50
+
51
+ ### Example error output
52
+
53
+ ```text
54
+ error: ENVKEY invalid
55
+ ```
56
+
57
+ ### Flags
58
+
59
+ ```text
60
+ --cache cache encrypted config as a local backup (default is false)
61
+ --cache-dir string cache directory (default is $HOME/.envkey/cache)
62
+ --client-name string calling client library name (default is none)
63
+ --client-version string calling client library version (default is none)
64
+ -h, --help help for envkey-fetch
65
+ --retries uint8 number of times to retry requests on failure (default 3)
66
+ --retryBackoff float retry backoff factor: {retryBackoff} * (2 ^ {retries - 1}) (default 1)
67
+ --timeout float timeout in seconds for http requests (default 10)
68
+ --verbose print verbose output (default is false)
69
+ -v, --version prints the version
70
+ ```
71
+
72
+ ## Further Reading
73
+
74
+ For more on EnvKey in general:
75
+
76
+ Read the [docs](https://docs.envkey.com).
77
+
78
+ Read the [integration quickstart](https://docs.envkey.com/integration-quickstart.html).
79
+
80
+ Read the [security and cryptography overview](https://security.envkey.com).
81
+
82
+ ## Need help? Have questions, feedback, or ideas?
83
+
84
+ Post an [issue](https://github.com/envkey/envkey-fetch/issues) or email us: [support@envkey.com](mailto:support@envkey.com).
85
+
86
+
87
+
88
+
89
+
90
+
@@ -0,0 +1,90 @@
1
+ # envkey-fetch
2
+
3
+ This library contains [EnvKey](https://www.envkey.com)'s core cross-platform fetching, decryption, verification, web of trust, redundancy, and caching logic. It accepts an `ENVKEY` generated by the [EnvKey App](https://www.github.com/envkey/envkey-app) and returns decrypted configuration for a specific app environment as json.
4
+
5
+ It is used by EnvKey's various Client Libraries, including [envkey-source](https://github.com/envkey/envkey-source) for bash, [envkey-ruby](https://github.com/envkey/envkey-ruby) for Ruby and Rails, [envkey-python](https://github.com/envkey/envkey-python) for Python, [envkey-node](https://github.com/envkey/envkey-node) for Node.js, and [envkeygo](https://github.com/envkey/envkeygo) for Go.
6
+
7
+ If you want to build an EnvKey library in a language that isn't yet officially supported, build some other type of integration, or simply play around with EnvKey on the command line, envkey-fetch is the library for you. If you just want to integrate EnvKey with your project, check out one of the aforementioned higher level libraries.
8
+
9
+ ## Installation
10
+
11
+ envkey-fetch compiles into a simple static binary with no dependencies, which makes installation a simple matter of fetching the right binary for your platform and putting it in your `PATH`. An `install.sh` script is available to simplify this.
12
+
13
+ **Install via bash:**
14
+
15
+ ```bash
16
+ curl -s https://raw.githubusercontent.com/envkey/envkey-fetch/master/install.sh | bash
17
+ ```
18
+
19
+ **Install manually:**
20
+
21
+ Find the [release](https://github.com/envkey/envkey-fetch/releases) for your platform and architecture, and stick the appropriate binary somewhere in your `PATH` (or wherever you like really).
22
+
23
+ **Install from source:**
24
+
25
+ With Go installed, clone the project into your `GOPATH`. `cd` into the directory and run `go get` and `go build`.
26
+
27
+ **Cross-compile from source:**
28
+
29
+ To compile cross-platform binaries, make sure Go is installed, then install [goreleaser](https://goreleaser.com/) - follow instructions in the docs to do so.
30
+
31
+ Then to cross-compile, run:
32
+
33
+ `goreleaser`
34
+
35
+ Binaries for each platform will be output to the `dist` folder.
36
+
37
+ ## Usage
38
+
39
+ ```bash
40
+ envkey-fetch YOUR-ENVKEY [flags]
41
+ ```
42
+
43
+ This will either write your the app environment's configuration associated with your `ENVKEY` as json to stdout or write an error message beginning with `error:` to stdout.
44
+
45
+ ### Example json output
46
+
47
+ ```json
48
+ {"TEST":"it","TEST_2":"works!"}
49
+ ```
50
+
51
+ ### Example error output
52
+
53
+ ```text
54
+ error: ENVKEY invalid
55
+ ```
56
+
57
+ ### Flags
58
+
59
+ ```text
60
+ --cache cache encrypted config as a local backup (default is false)
61
+ --cache-dir string cache directory (default is $HOME/.envkey/cache)
62
+ --client-name string calling client library name (default is none)
63
+ --client-version string calling client library version (default is none)
64
+ -h, --help help for envkey-fetch
65
+ --retries uint8 number of times to retry requests on failure (default 3)
66
+ --retryBackoff float retry backoff factor: {retryBackoff} * (2 ^ {retries - 1}) (default 1)
67
+ --timeout float timeout in seconds for http requests (default 10)
68
+ --verbose print verbose output (default is false)
69
+ -v, --version prints the version
70
+ ```
71
+
72
+ ## Further Reading
73
+
74
+ For more on EnvKey in general:
75
+
76
+ Read the [docs](https://docs.envkey.com).
77
+
78
+ Read the [integration quickstart](https://docs.envkey.com/integration-quickstart.html).
79
+
80
+ Read the [security and cryptography overview](https://security.envkey.com).
81
+
82
+ ## Need help? Have questions, feedback, or ideas?
83
+
84
+ Post an [issue](https://github.com/envkey/envkey-fetch/issues) or email us: [support@envkey.com](mailto:support@envkey.com).
85
+
86
+
87
+
88
+
89
+
90
+
@@ -0,0 +1,90 @@
1
+ # envkey-fetch
2
+
3
+ This library contains [EnvKey](https://www.envkey.com)'s core cross-platform fetching, decryption, verification, web of trust, redundancy, and caching logic. It accepts an `ENVKEY` generated by the [EnvKey App](https://www.github.com/envkey/envkey-app) and returns decrypted configuration for a specific app environment as json.
4
+
5
+ It is used by EnvKey's various Client Libraries, including [envkey-source](https://github.com/envkey/envkey-source) for bash, [envkey-ruby](https://github.com/envkey/envkey-ruby) for Ruby and Rails, [envkey-python](https://github.com/envkey/envkey-python) for Python, [envkey-node](https://github.com/envkey/envkey-node) for Node.js, and [envkeygo](https://github.com/envkey/envkeygo) for Go.
6
+
7
+ If you want to build an EnvKey library in a language that isn't yet officially supported, build some other type of integration, or simply play around with EnvKey on the command line, envkey-fetch is the library for you. If you just want to integrate EnvKey with your project, check out one of the aforementioned higher level libraries.
8
+
9
+ ## Installation
10
+
11
+ envkey-fetch compiles into a simple static binary with no dependencies, which makes installation a simple matter of fetching the right binary for your platform and putting it in your `PATH`. An `install.sh` script is available to simplify this.
12
+
13
+ **Install via bash:**
14
+
15
+ ```bash
16
+ curl -s https://raw.githubusercontent.com/envkey/envkey-fetch/master/install.sh | bash
17
+ ```
18
+
19
+ **Install manually:**
20
+
21
+ Find the [release](https://github.com/envkey/envkey-fetch/releases) for your platform and architecture, and stick the appropriate binary somewhere in your `PATH` (or wherever you like really).
22
+
23
+ **Install from source:**
24
+
25
+ With Go installed, clone the project into your `GOPATH`. `cd` into the directory and run `go get` and `go build`.
26
+
27
+ **Cross-compile from source:**
28
+
29
+ To compile cross-platform binaries, make sure Go is installed, then install [goreleaser](https://goreleaser.com/) - follow instructions in the docs to do so.
30
+
31
+ Then to cross-compile, run:
32
+
33
+ `goreleaser`
34
+
35
+ Binaries for each platform will be output to the `dist` folder.
36
+
37
+ ## Usage
38
+
39
+ ```bash
40
+ envkey-fetch YOUR-ENVKEY [flags]
41
+ ```
42
+
43
+ This will either write your the app environment's configuration associated with your `ENVKEY` as json to stdout or write an error message beginning with `error:` to stdout.
44
+
45
+ ### Example json output
46
+
47
+ ```json
48
+ {"TEST":"it","TEST_2":"works!"}
49
+ ```
50
+
51
+ ### Example error output
52
+
53
+ ```text
54
+ error: ENVKEY invalid
55
+ ```
56
+
57
+ ### Flags
58
+
59
+ ```text
60
+ --cache cache encrypted config as a local backup (default is false)
61
+ --cache-dir string cache directory (default is $HOME/.envkey/cache)
62
+ --client-name string calling client library name (default is none)
63
+ --client-version string calling client library version (default is none)
64
+ -h, --help help for envkey-fetch
65
+ --retries uint8 number of times to retry requests on failure (default 3)
66
+ --retryBackoff float retry backoff factor: {retryBackoff} * (2 ^ {retries - 1}) (default 1)
67
+ --timeout float timeout in seconds for http requests (default 10)
68
+ --verbose print verbose output (default is false)
69
+ -v, --version prints the version
70
+ ```
71
+
72
+ ## Further Reading
73
+
74
+ For more on EnvKey in general:
75
+
76
+ Read the [docs](https://docs.envkey.com).
77
+
78
+ Read the [integration quickstart](https://docs.envkey.com/integration-quickstart.html).
79
+
80
+ Read the [security and cryptography overview](https://security.envkey.com).
81
+
82
+ ## Need help? Have questions, feedback, or ideas?
83
+
84
+ Post an [issue](https://github.com/envkey/envkey-fetch/issues) or email us: [support@envkey.com](mailto:support@envkey.com).
85
+
86
+
87
+
88
+
89
+
90
+
@@ -0,0 +1,90 @@
1
+ # envkey-fetch
2
+
3
+ This library contains [EnvKey](https://www.envkey.com)'s core cross-platform fetching, decryption, verification, web of trust, redundancy, and caching logic. It accepts an `ENVKEY` generated by the [EnvKey App](https://www.github.com/envkey/envkey-app) and returns decrypted configuration for a specific app environment as json.
4
+
5
+ It is used by EnvKey's various Client Libraries, including [envkey-source](https://github.com/envkey/envkey-source) for bash, [envkey-ruby](https://github.com/envkey/envkey-ruby) for Ruby and Rails, [envkey-python](https://github.com/envkey/envkey-python) for Python, [envkey-node](https://github.com/envkey/envkey-node) for Node.js, and [envkeygo](https://github.com/envkey/envkeygo) for Go.
6
+
7
+ If you want to build an EnvKey library in a language that isn't yet officially supported, build some other type of integration, or simply play around with EnvKey on the command line, envkey-fetch is the library for you. If you just want to integrate EnvKey with your project, check out one of the aforementioned higher level libraries.
8
+
9
+ ## Installation
10
+
11
+ envkey-fetch compiles into a simple static binary with no dependencies, which makes installation a simple matter of fetching the right binary for your platform and putting it in your `PATH`. An `install.sh` script is available to simplify this.
12
+
13
+ **Install via bash:**
14
+
15
+ ```bash
16
+ curl -s https://raw.githubusercontent.com/envkey/envkey-fetch/master/install.sh | bash
17
+ ```
18
+
19
+ **Install manually:**
20
+
21
+ Find the [release](https://github.com/envkey/envkey-fetch/releases) for your platform and architecture, and stick the appropriate binary somewhere in your `PATH` (or wherever you like really).
22
+
23
+ **Install from source:**
24
+
25
+ With Go installed, clone the project into your `GOPATH`. `cd` into the directory and run `go get` and `go build`.
26
+
27
+ **Cross-compile from source:**
28
+
29
+ To compile cross-platform binaries, make sure Go is installed, then install [goreleaser](https://goreleaser.com/) - follow instructions in the docs to do so.
30
+
31
+ Then to cross-compile, run:
32
+
33
+ `goreleaser`
34
+
35
+ Binaries for each platform will be output to the `dist` folder.
36
+
37
+ ## Usage
38
+
39
+ ```bash
40
+ envkey-fetch YOUR-ENVKEY [flags]
41
+ ```
42
+
43
+ This will either write your the app environment's configuration associated with your `ENVKEY` as json to stdout or write an error message beginning with `error:` to stdout.
44
+
45
+ ### Example json output
46
+
47
+ ```json
48
+ {"TEST":"it","TEST_2":"works!"}
49
+ ```
50
+
51
+ ### Example error output
52
+
53
+ ```text
54
+ error: ENVKEY invalid
55
+ ```
56
+
57
+ ### Flags
58
+
59
+ ```text
60
+ --cache cache encrypted config as a local backup (default is false)
61
+ --cache-dir string cache directory (default is $HOME/.envkey/cache)
62
+ --client-name string calling client library name (default is none)
63
+ --client-version string calling client library version (default is none)
64
+ -h, --help help for envkey-fetch
65
+ --retries uint8 number of times to retry requests on failure (default 3)
66
+ --retryBackoff float retry backoff factor: {retryBackoff} * (2 ^ {retries - 1}) (default 1)
67
+ --timeout float timeout in seconds for http requests (default 10)
68
+ --verbose print verbose output (default is false)
69
+ -v, --version prints the version
70
+ ```
71
+
72
+ ## Further Reading
73
+
74
+ For more on EnvKey in general:
75
+
76
+ Read the [docs](https://docs.envkey.com).
77
+
78
+ Read the [integration quickstart](https://docs.envkey.com/integration-quickstart.html).
79
+
80
+ Read the [security and cryptography overview](https://security.envkey.com).
81
+
82
+ ## Need help? Have questions, feedback, or ideas?
83
+
84
+ Post an [issue](https://github.com/envkey/envkey-fetch/issues) or email us: [support@envkey.com](mailto:support@envkey.com).
85
+
86
+
87
+
88
+
89
+
90
+
@@ -1,4 +1,4 @@
1
1
  module Envkey
2
- VERSION = "1.2.2"
3
- ENVKEY_FETCH_VERSION="1.2.2"
2
+ VERSION = "1.2.4"
3
+ ENVKEY_FETCH_VERSION="1.2.4"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: envkey
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dane Schneider
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-09 00:00:00.000000000 Z
11
+ date: 2018-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -83,30 +83,30 @@ files:
83
83
  - bin/console
84
84
  - bin/setup
85
85
  - envkey.gemspec
86
- - ext/envkey-fetch_1.2.2_darwin_386/LICENSE
87
- - ext/envkey-fetch_1.2.2_darwin_386/README.md
88
- - ext/envkey-fetch_1.2.2_darwin_386/envkey-fetch
89
- - ext/envkey-fetch_1.2.2_darwin_amd64/LICENSE
90
- - ext/envkey-fetch_1.2.2_darwin_amd64/README.md
91
- - ext/envkey-fetch_1.2.2_darwin_amd64/envkey-fetch
92
- - ext/envkey-fetch_1.2.2_freebsd_386/LICENSE
93
- - ext/envkey-fetch_1.2.2_freebsd_386/README.md
94
- - ext/envkey-fetch_1.2.2_freebsd_386/envkey-fetch
95
- - ext/envkey-fetch_1.2.2_freebsd_amd64/LICENSE
96
- - ext/envkey-fetch_1.2.2_freebsd_amd64/README.md
97
- - ext/envkey-fetch_1.2.2_freebsd_amd64/envkey-fetch
98
- - ext/envkey-fetch_1.2.2_linux_386/LICENSE
99
- - ext/envkey-fetch_1.2.2_linux_386/README.md
100
- - ext/envkey-fetch_1.2.2_linux_386/envkey-fetch
101
- - ext/envkey-fetch_1.2.2_linux_amd64/LICENSE
102
- - ext/envkey-fetch_1.2.2_linux_amd64/README.md
103
- - ext/envkey-fetch_1.2.2_linux_amd64/envkey-fetch
104
- - ext/envkey-fetch_1.2.2_windows_386/LICENSE
105
- - ext/envkey-fetch_1.2.2_windows_386/README.md
106
- - ext/envkey-fetch_1.2.2_windows_386/envkey-fetch.exe
107
- - ext/envkey-fetch_1.2.2_windows_amd64/LICENSE
108
- - ext/envkey-fetch_1.2.2_windows_amd64/README.md
109
- - ext/envkey-fetch_1.2.2_windows_amd64/envkey-fetch.exe
86
+ - ext/envkey-fetch_1.2.4_darwin_386/LICENSE
87
+ - ext/envkey-fetch_1.2.4_darwin_386/README.md
88
+ - ext/envkey-fetch_1.2.4_darwin_386/envkey-fetch
89
+ - ext/envkey-fetch_1.2.4_darwin_amd64/LICENSE
90
+ - ext/envkey-fetch_1.2.4_darwin_amd64/README.md
91
+ - ext/envkey-fetch_1.2.4_darwin_amd64/envkey-fetch
92
+ - ext/envkey-fetch_1.2.4_freebsd_386/LICENSE
93
+ - ext/envkey-fetch_1.2.4_freebsd_386/README.md
94
+ - ext/envkey-fetch_1.2.4_freebsd_386/envkey-fetch
95
+ - ext/envkey-fetch_1.2.4_freebsd_amd64/LICENSE
96
+ - ext/envkey-fetch_1.2.4_freebsd_amd64/README.md
97
+ - ext/envkey-fetch_1.2.4_freebsd_amd64/envkey-fetch
98
+ - ext/envkey-fetch_1.2.4_linux_386/LICENSE
99
+ - ext/envkey-fetch_1.2.4_linux_386/README.md
100
+ - ext/envkey-fetch_1.2.4_linux_386/envkey-fetch
101
+ - ext/envkey-fetch_1.2.4_linux_amd64/LICENSE
102
+ - ext/envkey-fetch_1.2.4_linux_amd64/README.md
103
+ - ext/envkey-fetch_1.2.4_linux_amd64/envkey-fetch
104
+ - ext/envkey-fetch_1.2.4_windows_386/LICENSE
105
+ - ext/envkey-fetch_1.2.4_windows_386/README.md
106
+ - ext/envkey-fetch_1.2.4_windows_386/envkey-fetch.exe
107
+ - ext/envkey-fetch_1.2.4_windows_amd64/LICENSE
108
+ - ext/envkey-fetch_1.2.4_windows_amd64/README.md
109
+ - ext/envkey-fetch_1.2.4_windows_amd64/envkey-fetch.exe
110
110
  - lib/envkey.rb
111
111
  - lib/envkey/core.rb
112
112
  - lib/envkey/fetch.rb
@@ -1,86 +0,0 @@
1
- # envkey-fetch
2
-
3
- This library contains [EnvKey](https://www.envkey.com)'s core cross-platform fetching, decryption, verification, web of trust, redundancy, and caching logic. It accepts an `ENVKEY` generated by the [EnvKey App](https://www.github.com/envkey/envkey-app) and returns decrypted configuration for a specific app environment as json.
4
-
5
- It is used by EnvKey's various Client Libraries, including [envkey-source](https://github.com/envkey/envkey-source) for bash, [envkey-ruby](https://github.com/envkey/envkey-ruby) for Ruby and Rails, [envkey-python](https://github.com/envkey/envkey-python) for Python, [envkey-node](https://github.com/envkey/envkey-node) for Node.js, and [envkeygo](https://github.com/envkey/envkeygo) for Go.
6
-
7
- If you want to build an EnvKey library in a language that isn't yet officially supported, build some other type of integration, or simply play around with EnvKey on the command line, envkey-fetch is the library for you. If you just want to integrate EnvKey with your project, check out one of the aforementioned higher level libraries.
8
-
9
- ## Installation
10
-
11
- envkey-fetch compiles into a simple static binary with no dependencies, which makes installation a simple matter of fetching the right binary for your platform and putting it in your `PATH`. An `install.sh` script is available to simplify this.
12
-
13
- **Install via bash:**
14
-
15
- ```bash
16
- curl -s https://raw.githubusercontent.com/envkey/envkey-fetch/master/install.sh | bash
17
- ```
18
-
19
- **Install manually:**
20
-
21
- Find the [release](https://github.com/envkey/envkey-fetch/releases) for your platform and architecture, and stick the appropriate binary somewhere in your `PATH` (or wherever you like really).
22
-
23
- **Install from source:**
24
-
25
- With Go installed, clone the project into your `GOPATH`. `cd` into the directory and run `go get` and `go build`.
26
-
27
- **Cross-compile from source:**
28
-
29
- To compile cross-platform binaries, make sure Go is installed, then install [goreleaser](https://goreleaser.com/) - follow instructions in the docs to do so.
30
-
31
- Then to cross-compile, run:
32
-
33
- `goreleaser`
34
-
35
- Binaries for each platform will be output to the `dist` folder.
36
-
37
- ## Usage
38
-
39
- ```bash
40
- envkey-fetch YOUR-ENVKEY [flags]
41
- ```
42
-
43
- This will either write your the app environment's configuration associated with your `ENVKEY` as json to stdout or write an error message beginning with `error:` to stdout.
44
-
45
- ### Example json output
46
-
47
- ```json
48
- {"TEST":"it","TEST_2":"works!"}
49
- ```
50
-
51
- ### Example error output
52
-
53
- ```text
54
- error: ENVKEY invalid
55
- ```
56
-
57
- ### Flags
58
-
59
- ```text
60
- --cache cache encrypted config as a local backup (default is false)
61
- --cache-dir string cache directory (default is $HOME/.envkey/cache)
62
- -h, --help help for envkey-fetch
63
- -v, --version prints the version
64
- --verbose print verbose output (default is false)
65
- --timeout float timeout in seconds for http requests (default 2)
66
- ```
67
-
68
- ## Further Reading
69
-
70
- For more on EnvKey in general:
71
-
72
- Read the [docs](https://docs.envkey.com).
73
-
74
- Read the [integration quickstart](https://docs.envkey.com/integration-quickstart.html).
75
-
76
- Read the [security and cryptography overview](https://security.envkey.com).
77
-
78
- ## Need help? Have questions, feedback, or ideas?
79
-
80
- Post an [issue](https://github.com/envkey/envkey-fetch/issues) or email us: [support@envkey.com](mailto:support@envkey.com).
81
-
82
-
83
-
84
-
85
-
86
-
@@ -1,86 +0,0 @@
1
- # envkey-fetch
2
-
3
- This library contains [EnvKey](https://www.envkey.com)'s core cross-platform fetching, decryption, verification, web of trust, redundancy, and caching logic. It accepts an `ENVKEY` generated by the [EnvKey App](https://www.github.com/envkey/envkey-app) and returns decrypted configuration for a specific app environment as json.
4
-
5
- It is used by EnvKey's various Client Libraries, including [envkey-source](https://github.com/envkey/envkey-source) for bash, [envkey-ruby](https://github.com/envkey/envkey-ruby) for Ruby and Rails, [envkey-python](https://github.com/envkey/envkey-python) for Python, [envkey-node](https://github.com/envkey/envkey-node) for Node.js, and [envkeygo](https://github.com/envkey/envkeygo) for Go.
6
-
7
- If you want to build an EnvKey library in a language that isn't yet officially supported, build some other type of integration, or simply play around with EnvKey on the command line, envkey-fetch is the library for you. If you just want to integrate EnvKey with your project, check out one of the aforementioned higher level libraries.
8
-
9
- ## Installation
10
-
11
- envkey-fetch compiles into a simple static binary with no dependencies, which makes installation a simple matter of fetching the right binary for your platform and putting it in your `PATH`. An `install.sh` script is available to simplify this.
12
-
13
- **Install via bash:**
14
-
15
- ```bash
16
- curl -s https://raw.githubusercontent.com/envkey/envkey-fetch/master/install.sh | bash
17
- ```
18
-
19
- **Install manually:**
20
-
21
- Find the [release](https://github.com/envkey/envkey-fetch/releases) for your platform and architecture, and stick the appropriate binary somewhere in your `PATH` (or wherever you like really).
22
-
23
- **Install from source:**
24
-
25
- With Go installed, clone the project into your `GOPATH`. `cd` into the directory and run `go get` and `go build`.
26
-
27
- **Cross-compile from source:**
28
-
29
- To compile cross-platform binaries, make sure Go is installed, then install [goreleaser](https://goreleaser.com/) - follow instructions in the docs to do so.
30
-
31
- Then to cross-compile, run:
32
-
33
- `goreleaser`
34
-
35
- Binaries for each platform will be output to the `dist` folder.
36
-
37
- ## Usage
38
-
39
- ```bash
40
- envkey-fetch YOUR-ENVKEY [flags]
41
- ```
42
-
43
- This will either write your the app environment's configuration associated with your `ENVKEY` as json to stdout or write an error message beginning with `error:` to stdout.
44
-
45
- ### Example json output
46
-
47
- ```json
48
- {"TEST":"it","TEST_2":"works!"}
49
- ```
50
-
51
- ### Example error output
52
-
53
- ```text
54
- error: ENVKEY invalid
55
- ```
56
-
57
- ### Flags
58
-
59
- ```text
60
- --cache cache encrypted config as a local backup (default is false)
61
- --cache-dir string cache directory (default is $HOME/.envkey/cache)
62
- -h, --help help for envkey-fetch
63
- -v, --version prints the version
64
- --verbose print verbose output (default is false)
65
- --timeout float timeout in seconds for http requests (default 2)
66
- ```
67
-
68
- ## Further Reading
69
-
70
- For more on EnvKey in general:
71
-
72
- Read the [docs](https://docs.envkey.com).
73
-
74
- Read the [integration quickstart](https://docs.envkey.com/integration-quickstart.html).
75
-
76
- Read the [security and cryptography overview](https://security.envkey.com).
77
-
78
- ## Need help? Have questions, feedback, or ideas?
79
-
80
- Post an [issue](https://github.com/envkey/envkey-fetch/issues) or email us: [support@envkey.com](mailto:support@envkey.com).
81
-
82
-
83
-
84
-
85
-
86
-
@@ -1,86 +0,0 @@
1
- # envkey-fetch
2
-
3
- This library contains [EnvKey](https://www.envkey.com)'s core cross-platform fetching, decryption, verification, web of trust, redundancy, and caching logic. It accepts an `ENVKEY` generated by the [EnvKey App](https://www.github.com/envkey/envkey-app) and returns decrypted configuration for a specific app environment as json.
4
-
5
- It is used by EnvKey's various Client Libraries, including [envkey-source](https://github.com/envkey/envkey-source) for bash, [envkey-ruby](https://github.com/envkey/envkey-ruby) for Ruby and Rails, [envkey-python](https://github.com/envkey/envkey-python) for Python, [envkey-node](https://github.com/envkey/envkey-node) for Node.js, and [envkeygo](https://github.com/envkey/envkeygo) for Go.
6
-
7
- If you want to build an EnvKey library in a language that isn't yet officially supported, build some other type of integration, or simply play around with EnvKey on the command line, envkey-fetch is the library for you. If you just want to integrate EnvKey with your project, check out one of the aforementioned higher level libraries.
8
-
9
- ## Installation
10
-
11
- envkey-fetch compiles into a simple static binary with no dependencies, which makes installation a simple matter of fetching the right binary for your platform and putting it in your `PATH`. An `install.sh` script is available to simplify this.
12
-
13
- **Install via bash:**
14
-
15
- ```bash
16
- curl -s https://raw.githubusercontent.com/envkey/envkey-fetch/master/install.sh | bash
17
- ```
18
-
19
- **Install manually:**
20
-
21
- Find the [release](https://github.com/envkey/envkey-fetch/releases) for your platform and architecture, and stick the appropriate binary somewhere in your `PATH` (or wherever you like really).
22
-
23
- **Install from source:**
24
-
25
- With Go installed, clone the project into your `GOPATH`. `cd` into the directory and run `go get` and `go build`.
26
-
27
- **Cross-compile from source:**
28
-
29
- To compile cross-platform binaries, make sure Go is installed, then install [goreleaser](https://goreleaser.com/) - follow instructions in the docs to do so.
30
-
31
- Then to cross-compile, run:
32
-
33
- `goreleaser`
34
-
35
- Binaries for each platform will be output to the `dist` folder.
36
-
37
- ## Usage
38
-
39
- ```bash
40
- envkey-fetch YOUR-ENVKEY [flags]
41
- ```
42
-
43
- This will either write your the app environment's configuration associated with your `ENVKEY` as json to stdout or write an error message beginning with `error:` to stdout.
44
-
45
- ### Example json output
46
-
47
- ```json
48
- {"TEST":"it","TEST_2":"works!"}
49
- ```
50
-
51
- ### Example error output
52
-
53
- ```text
54
- error: ENVKEY invalid
55
- ```
56
-
57
- ### Flags
58
-
59
- ```text
60
- --cache cache encrypted config as a local backup (default is false)
61
- --cache-dir string cache directory (default is $HOME/.envkey/cache)
62
- -h, --help help for envkey-fetch
63
- -v, --version prints the version
64
- --verbose print verbose output (default is false)
65
- --timeout float timeout in seconds for http requests (default 2)
66
- ```
67
-
68
- ## Further Reading
69
-
70
- For more on EnvKey in general:
71
-
72
- Read the [docs](https://docs.envkey.com).
73
-
74
- Read the [integration quickstart](https://docs.envkey.com/integration-quickstart.html).
75
-
76
- Read the [security and cryptography overview](https://security.envkey.com).
77
-
78
- ## Need help? Have questions, feedback, or ideas?
79
-
80
- Post an [issue](https://github.com/envkey/envkey-fetch/issues) or email us: [support@envkey.com](mailto:support@envkey.com).
81
-
82
-
83
-
84
-
85
-
86
-
@@ -1,86 +0,0 @@
1
- # envkey-fetch
2
-
3
- This library contains [EnvKey](https://www.envkey.com)'s core cross-platform fetching, decryption, verification, web of trust, redundancy, and caching logic. It accepts an `ENVKEY` generated by the [EnvKey App](https://www.github.com/envkey/envkey-app) and returns decrypted configuration for a specific app environment as json.
4
-
5
- It is used by EnvKey's various Client Libraries, including [envkey-source](https://github.com/envkey/envkey-source) for bash, [envkey-ruby](https://github.com/envkey/envkey-ruby) for Ruby and Rails, [envkey-python](https://github.com/envkey/envkey-python) for Python, [envkey-node](https://github.com/envkey/envkey-node) for Node.js, and [envkeygo](https://github.com/envkey/envkeygo) for Go.
6
-
7
- If you want to build an EnvKey library in a language that isn't yet officially supported, build some other type of integration, or simply play around with EnvKey on the command line, envkey-fetch is the library for you. If you just want to integrate EnvKey with your project, check out one of the aforementioned higher level libraries.
8
-
9
- ## Installation
10
-
11
- envkey-fetch compiles into a simple static binary with no dependencies, which makes installation a simple matter of fetching the right binary for your platform and putting it in your `PATH`. An `install.sh` script is available to simplify this.
12
-
13
- **Install via bash:**
14
-
15
- ```bash
16
- curl -s https://raw.githubusercontent.com/envkey/envkey-fetch/master/install.sh | bash
17
- ```
18
-
19
- **Install manually:**
20
-
21
- Find the [release](https://github.com/envkey/envkey-fetch/releases) for your platform and architecture, and stick the appropriate binary somewhere in your `PATH` (or wherever you like really).
22
-
23
- **Install from source:**
24
-
25
- With Go installed, clone the project into your `GOPATH`. `cd` into the directory and run `go get` and `go build`.
26
-
27
- **Cross-compile from source:**
28
-
29
- To compile cross-platform binaries, make sure Go is installed, then install [goreleaser](https://goreleaser.com/) - follow instructions in the docs to do so.
30
-
31
- Then to cross-compile, run:
32
-
33
- `goreleaser`
34
-
35
- Binaries for each platform will be output to the `dist` folder.
36
-
37
- ## Usage
38
-
39
- ```bash
40
- envkey-fetch YOUR-ENVKEY [flags]
41
- ```
42
-
43
- This will either write your the app environment's configuration associated with your `ENVKEY` as json to stdout or write an error message beginning with `error:` to stdout.
44
-
45
- ### Example json output
46
-
47
- ```json
48
- {"TEST":"it","TEST_2":"works!"}
49
- ```
50
-
51
- ### Example error output
52
-
53
- ```text
54
- error: ENVKEY invalid
55
- ```
56
-
57
- ### Flags
58
-
59
- ```text
60
- --cache cache encrypted config as a local backup (default is false)
61
- --cache-dir string cache directory (default is $HOME/.envkey/cache)
62
- -h, --help help for envkey-fetch
63
- -v, --version prints the version
64
- --verbose print verbose output (default is false)
65
- --timeout float timeout in seconds for http requests (default 2)
66
- ```
67
-
68
- ## Further Reading
69
-
70
- For more on EnvKey in general:
71
-
72
- Read the [docs](https://docs.envkey.com).
73
-
74
- Read the [integration quickstart](https://docs.envkey.com/integration-quickstart.html).
75
-
76
- Read the [security and cryptography overview](https://security.envkey.com).
77
-
78
- ## Need help? Have questions, feedback, or ideas?
79
-
80
- Post an [issue](https://github.com/envkey/envkey-fetch/issues) or email us: [support@envkey.com](mailto:support@envkey.com).
81
-
82
-
83
-
84
-
85
-
86
-