secrets_manager 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/application.yml +50 -0
- data/lib/secrets_manager/railtie.rb +2 -9
- data/lib/secrets_manager/version.rb +1 -1
- metadata +4 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7044e3d12358481c0414e66253dd81da3322d7f31d61563c86844544940a36e
|
4
|
+
data.tar.gz: 321320718f5a73c4ad80b9ae72b8bbd8624f079e2c73171448d0be5efc3bf4d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e54c383832408c4860d0ceac95244ff67441a0acf730706cd6a6cfd7a41cc648eba2aa4ad227ccc6e20663a13b5e2eac1806dc32e491285a9ada7becd5258f0
|
7
|
+
data.tar.gz: aed002a0f43f9b4196972fd38134ea1efeb750151a97a99b60e1a08e81aa0ccf26ea6956ae1a56212e1e98719ea46d93cbfe0c6125e93d5d9c7c2203ebdcd224
|
@@ -0,0 +1,50 @@
|
|
1
|
+
secret_token: xa20f9e81af18eaa700c5b82fdf8f742e327997f2edfd51e0ca06f4c7607a9f134738956c894f3acf4d4e75d123d28463f1e401b71f8f1e8d7b32606da8c5bbe
|
2
|
+
secret_key_base: ccd0c97a895d390a91b7abeb19402abd76289703049fc0afa0bfb782ae2c48fb3d18e5eadafd4e92a9de92526e96de3881f8d3c28e8d898f7c8702c3773985a8
|
3
|
+
devise_pepper: aaae3bba030d00f7d0fe31efe059a7c65300f2b66a9e9caaa9073cdf7516c625a6e82380cc40a1648ac80baef4d61eb62cc555916414279bbf40a2e2a79b68cb
|
4
|
+
new_relic_license_key: 2b37dce8a11fe044b72f76b678e7facfa9106c0b
|
5
|
+
scout_key: YfCy1z7j1khWQXLm1aOs
|
6
|
+
bugsnag_api_key: e8f8b7441eb9a3485454021ea7531deb
|
7
|
+
openexchangerates_app_id: 6fe4a96c605d45bfb7e6684618c00b85
|
8
|
+
skylight_application: yThUM6HEHgBY
|
9
|
+
skylight_authentication: pcQ-Gxd6IZxou7UnRhglYhYGHE-MU5e4KanyVIwLaQY
|
10
|
+
stripe_api_key: sk_test_awJDnJlti7C7GHf421J9r4un
|
11
|
+
stripe_public_key: pk_test_laEwsPh7Jsn5z3jheVXAzDgQ
|
12
|
+
stripe_webhook_key: eedb76beffc5a6e6d52a915fbb153917
|
13
|
+
stripe_signing_secret: whsec_D2T3iGCnVnG2KCLOesdw8HSJI90ld2zi
|
14
|
+
intercom_app_id: 54uzduob
|
15
|
+
intercom_api_secret: wSeyBibWnWtfkODJkCkKHn9nKZNaeTLhEGjF-601
|
16
|
+
intercom_access_token: dG9rOjk1ODg2YzRiXzI5MmFfNGJhNV9hNzQ5X2Q1NGI0ODhkMWEyMjoxOjA=
|
17
|
+
developer_aws_access_key_id: AKIAIHOSWEEVKKIPMIXQ
|
18
|
+
developer_aws_secret_access_key: tSOkRuYUdrZY8hNHPL9Sc2vhYG7pM2ibT1kIT7Cb
|
19
|
+
developer_aws_bucket: productive-api-docs
|
20
|
+
clearbit_api_token: e5e7fededfe35c11a02a51333ca064fd
|
21
|
+
files_aws_access_key_id: AKIAJXZVZPAUM5RRVDGA
|
22
|
+
files_aws_secret_access_key: BUSBV+4yN6GhzDJsjD9H+T9H457UiQi8L9THWwXm
|
23
|
+
files_aws_bucket: productive-files-development
|
24
|
+
mailgun_inbound_domain: inbox-development.productive.io
|
25
|
+
mailer_root_url: http://mailer.productive.io.localhost
|
26
|
+
rediscloud_url: redis://localhost:6379/0
|
27
|
+
firebase: AAAAXi_VihM:APA91bErEwDewgeBH7fkOjYn2-3SsG26i9Yzx30b3dsfBootKffXBcvYpatE_mXAaO7-YzTJPasp4_nuyJ_FfSIfRTMHtaugSPBPZoUdiJmIE9wGHp31Q7XnFglJ2ioZj4ECojimjpmP
|
28
|
+
quickbooks_oauth_consumer_key: Q08lq2LdTQpor8vzsmrd0hsOMTJIspIyLFrkMzVnVrumGE4Rq7
|
29
|
+
quickbooks_oauth_consumer_secret: GIqLVMpuX2zFEdB7npLOunMrbu6pbGYOArLMxcde
|
30
|
+
greenhouse_api_token: 6ff335980cc7c6d9f32530473211cb28-1
|
31
|
+
xero_oauth_consumer_key: PEAXBKJ3N61S3J8FCQDRBJXEWFNS72
|
32
|
+
xero_oauth_consumer_secret: Z4YTY3V4CXAYAE6PRWFNWS3CVFWBJJ
|
33
|
+
exact_client_id: fd474882-0746-4d12-921b-ff50a96719f6
|
34
|
+
exact_client_secret: k8GjxfFtkd6j
|
35
|
+
active_campaign_api_endpoint: https://productive64779.api-us1.com
|
36
|
+
active_campaign_api_key: b3ccb1d7c6df0a4a6c3a662027e08eec6947397a35610f47c58cc92b428c4c2b2c182e3e
|
37
|
+
resels_api_token: hETjJZnIb0E02754HMB12f4IBPwKuFgtf_xcvZzT_jkhQ9FN3uR4CQq5KQTSObrbP8QZVDg_sGJwHRY0zX5jNrR39Tg22YBM13cqmq6C9Jzc1ltLoYNZWW16ulZ0wIHx
|
38
|
+
partnerstack_public_key: pk_Hk3lyudLoFv1bEmzOPC7SOGIUwm1vpMs
|
39
|
+
partnerstack_private_key: sk_3AvDUWAMHy7L0S3XY7SYp4cX9Gn9aSuL
|
40
|
+
db_host: localhost
|
41
|
+
db_name: gauss_development
|
42
|
+
db_user: root
|
43
|
+
db_pass: ''
|
44
|
+
files_endpoint: files-development.productive.io
|
45
|
+
files_aws_region: us-east-1
|
46
|
+
jobs_token: dev-jobs-token
|
47
|
+
resize_token: dummy
|
48
|
+
sidekiq_redis_endpoint: redis://127.0.0.1:6379/0
|
49
|
+
sidekiq_username: productive
|
50
|
+
sidekiq_password: unproductive
|
@@ -1,12 +1,9 @@
|
|
1
1
|
require 'secrets_manager/config'
|
2
2
|
require 'secrets_manager/client'
|
3
|
-
require 'secrets_manager/helpers'
|
4
3
|
|
5
4
|
module SecretsManager
|
6
5
|
class Railtie < ::Rails::Railtie
|
7
6
|
config.before_configuration do
|
8
|
-
include SecretsManager::Helpers
|
9
|
-
|
10
7
|
unless File.file?(Rails.root.join('config', 'application.yml'))
|
11
8
|
puts 'Initializing secrets via Secrets Manager gem.'
|
12
9
|
|
@@ -19,12 +16,8 @@ module SecretsManager
|
|
19
16
|
secrets_config.secrets.each do |secret|
|
20
17
|
next if File.file?(Rails.root.join(secret.path))
|
21
18
|
|
22
|
-
|
23
|
-
|
24
|
-
else
|
25
|
-
aws_client.get_secret_hash(secret.id).each do |key, value|
|
26
|
-
ENV[key.to_s] = value
|
27
|
-
end
|
19
|
+
aws_client.get_secret_hash(secret.id).each do |key, value|
|
20
|
+
ENV[key.to_s] = value
|
28
21
|
end
|
29
22
|
end
|
30
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: secrets_manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hmatic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-secretsmanager
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 1.20.0
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rails
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: thor
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,6 +67,7 @@ files:
|
|
81
67
|
- Rakefile
|
82
68
|
- bin/secrets-manager
|
83
69
|
- bin/secrets_manager
|
70
|
+
- config/application.yml
|
84
71
|
- lib/secrets_manager.rb
|
85
72
|
- lib/secrets_manager/cli.rb
|
86
73
|
- lib/secrets_manager/cli/base.rb
|
@@ -111,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
98
|
version: '0'
|
112
99
|
requirements: []
|
113
100
|
rubyforge_project:
|
114
|
-
rubygems_version: 2.7.
|
101
|
+
rubygems_version: 2.7.3
|
115
102
|
signing_key:
|
116
103
|
specification_version: 4
|
117
104
|
summary: Easy secret management for AWS Secret Manager
|