Search code examples
amazon-web-servicesaws-lambdaaws-step-functions

How to pass sensitive information securely in AWS Step Functions


Using AWS Step Functions to string together Lambdas is interesting, but is there a way to disable/hide logging on the execution details screen? secret information being displayed in plaintext Private information being handed from one lambda to another needs to be able to be done in secret, and adding a KMS encrypt/decrypt to each step is a ton of overhead, and impossible for lambdas that live in a VPC without internet access.


Solution

  • We've talked with Amazon and it looks like that there's no way to hide this information from the console. The alternative is to limit what gets sent to the Lambda functions at each step.

    So you can ensure that only non-PII subsets of the input data are seen by certain functions. The usual workaround is to not passing PII data in at all and instead of that, place the PII data in an encrypted data stores, such as an S3 bucket or encrypted RDS database table, and pass a reference to that object through the state machine.