secrets-manager 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/secrets-manager.rb +1 -1
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93e1f5a742a6b7375d1a647dd886096074c0717a0145f9889de16e7e89dcd98c
|
4
|
+
data.tar.gz: ff8bd34eebc1afac0b2ae74c331bef134af3db3ddd0828e24abe5c00220f9702
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12b811c81a01c63d0798ccd11f687febdacebe46e981c132b973bf25a3662788ed84e8528085abd287985e7f5fe09be95c1a37ee05cbec313120b4312d191225
|
7
|
+
data.tar.gz: 38ec8012866d1ffe4ce2594c8842187b238530b8786dcf5a19314c64c168362e42c6237236840429fa3b62eba2528fb10a1d55a01102e9ca2c0ac00ddf0b3f3e
|
data/Gemfile.lock
CHANGED
data/lib/secrets-manager.rb
CHANGED
@@ -66,7 +66,7 @@ module SecretsManager
|
|
66
66
|
object = JSON.parse(response.secret_string, symbolize_names: true)
|
67
67
|
|
68
68
|
value = parse_value(object)
|
69
|
-
|
69
|
+
cache.set(resolved_path, value, parse_ttl(object))
|
70
70
|
return value
|
71
71
|
rescue Aws::SecretsManager::Errors::ResourceNotFoundException => e
|
72
72
|
raise SecretsManager::SecretNotFound, "Could not find secret with path #{resolved_path}"
|
data/lib/version.rb
CHANGED