You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
c7n-mailer supports KMS encryption of Slack tokens and other mailer config secrets and will attempt to handle the secret accordingly. However, this is not always the user's intention and the error log that occurs as a result of a failed attempted unnecessary decryption lacks clarity.
So even though my intention is plaintext, the log reads as an error:
Error: Incorrect padding Unable to base64 decode slack_token, will assume plaintext.
What did you expect to happen?
I was expecting more information and clarity that I can use for debugging if necessary.
Cloud Provider
Amazon Web Services (AWS)
Cloud Custodian version and dependency information
liz-acosta
changed the title
Update c7n logging for base64 decode error to make it easier to understand
Update c7n logging for base64 decode error for clarification
Mar 28, 2022
Describe the bug
c7n-mailer supports KMS encryption of Slack tokens and other mailer config secrets and will attempt to handle the secret accordingly. However, this is not always the user's intention and the error log that occurs as a result of a failed attempted unnecessary decryption lacks clarity.
So even though my intention is plaintext, the log reads as an error:
What did you expect to happen?
I was expecting more information and clarity that I can use for debugging if necessary.
Cloud Provider
Amazon Web Services (AWS)
Cloud Custodian version and dependency information
Policy
Relevant log/traceback output
No response
Extra information or context
Spoke with @ajkerrigan about this as well and this was partly his suggestion : )
The text was updated successfully, but these errors were encountered: