Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssm: Adding noDecrypt param support to SSM #10314 #10315

Merged

Conversation

omerinvia
Copy link
Contributor

@omerinvia omerinvia commented Dec 7, 2021

Copy link
Contributor

@medikoo medikoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@omerinvia great thanks for that PR. It looks very good, I have just one suggestion towards param resolution

Copy link
Contributor

@medikoo medikoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@omerinvia looks very good! I've just proposed as slight improvement to docs

docs/providers/aws/guide/variables.md Outdated Show resolved Hide resolved
Comment on lines 343 to 345
#### Disable automatically `SecureString` decryption

as mentioned above, by default , `SecureString` type parameters are automatically decrypted.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove this lines

@@ -340,6 +340,10 @@ New variable resolver, ensures that automatically other types as `SecureString`

All `SecureString` type parameters are automatically decrypted, and automatically parsed if they export stringified JSON content (Note: you can turn off parsing by passing `raw` instruction into variable as: `${ssm(raw):/path/to/secureparam}`, if you need to also pass custom region, put it first as: `${ssm(eu-west-1, raw):/path/to/secureparam}`)

#### Disable automatically `SecureString` decryption
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove this title

Copy link
Contributor

@medikoo medikoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @omerinvia !

@codecov
Copy link

codecov bot commented Dec 8, 2021

Codecov Report

Merging #10315 (68d5fa8) into master (4d4f863) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #10315   +/-   ##
=======================================
  Coverage   85.43%   85.43%           
=======================================
  Files         339      340    +1     
  Lines       13923    13939   +16     
=======================================
+ Hits        11895    11909   +14     
- Misses       2028     2030    +2     
Impacted Files Coverage Δ
...on/variables/sources/instance-dependent/get-ssm.js 91.66% <100.00%> (+0.55%) ⬆️
lib/plugins/aws/remove/lib/bucket.js 97.22% <0.00%> (-2.78%) ⬇️
lib/plugins/aws/remove/index.js 100.00% <0.00%> (ø)
lib/plugins/aws/lib/check-if-bucket-exists.js 85.71% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4d4f863...68d5fa8. Read the comment docs.

@medikoo medikoo merged commit 503c031 into serverless:master Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants