vault-key 0.0.1 → 0.0.6
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 3284a292ab739cc680bbc53b3468f27e34433b6a2ab3da45013d329a8cc18c27
|
|
4
|
+
data.tar.gz: 6248cb1b0b2d866d8ea833d0530ab3cab8a3761f80b67bba7b913ca45cefb955
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 391ef88a940ab922aa4cad0edcde50225726929804d35c91eb31bbadf527092fbe71b5e7184bcefa94a08ac8d248b0904b5ed387866b9def24aa3ec0dda707d7
|
|
7
|
+
data.tar.gz: 4cbc265ee4b993412568ee6aefb9182f02035d536cb90ae1c5d5f75746eea099fd6a2ba8b1f6300cf0518eeabe4eada3f4eb3370a8daf3ec67960780ec933958
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
@@ -5,13 +5,13 @@ require 'OS'
|
|
|
5
5
|
module VaultNative
|
|
6
6
|
extend FFI::Library
|
|
7
7
|
|
|
8
|
-
sharedObjectPath = OS.linux? ? "./native/vault
|
|
8
|
+
sharedObjectPath = OS.linux? ? "./native/vault.linux.so" : "./native/vault.darwin.so"
|
|
9
9
|
|
|
10
10
|
ffi_lib File.expand_path(sharedObjectPath, File.dirname(__FILE__))
|
|
11
11
|
attach_function :GetSecrets, [:string], :string
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
class
|
|
14
|
+
class Vault
|
|
15
15
|
def self.getSecrets(secrets)
|
|
16
16
|
secretsData = VaultNative.GetSecrets(JSON.generate(secrets))
|
|
17
17
|
JSON.parse(secretsData)
|
metadata
CHANGED
|
@@ -1,57 +1,59 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vault-key
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- TeamSnap SREs
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-02-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ffi
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 1.
|
|
19
|
+
version: '1.0'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 1.
|
|
26
|
+
version: '1.0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: os
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 1.0
|
|
33
|
+
version: '1.0'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 1.0
|
|
40
|
+
version: '1.0'
|
|
41
41
|
description: A gem to integrate Vault with GCP auth
|
|
42
|
-
email:
|
|
42
|
+
email: ''
|
|
43
43
|
executables: []
|
|
44
44
|
extensions: []
|
|
45
45
|
extra_rdoc_files: []
|
|
46
46
|
files:
|
|
47
|
-
- lib/native/vault
|
|
48
|
-
- lib/native/vault
|
|
49
|
-
- lib/vault
|
|
50
|
-
|
|
47
|
+
- lib/native/vault.darwin.h
|
|
48
|
+
- lib/native/vault.darwin.so
|
|
49
|
+
- lib/native/vault.linux.h
|
|
50
|
+
- lib/native/vault.linux.so
|
|
51
|
+
- lib/vault.rb
|
|
52
|
+
homepage: ''
|
|
51
53
|
licenses:
|
|
52
54
|
- MIT
|
|
53
55
|
metadata: {}
|
|
54
|
-
post_install_message:
|
|
56
|
+
post_install_message:
|
|
55
57
|
rdoc_options: []
|
|
56
58
|
require_paths:
|
|
57
59
|
- lib
|
|
@@ -66,9 +68,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
66
68
|
- !ruby/object:Gem::Version
|
|
67
69
|
version: '0'
|
|
68
70
|
requirements: []
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
signing_key:
|
|
71
|
+
rubygems_version: 3.0.3
|
|
72
|
+
signing_key:
|
|
72
73
|
specification_version: 4
|
|
73
74
|
summary: Vault with GCP auth
|
|
74
75
|
test_files: []
|