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

Mask token in Terraform state output #564

Merged
merged 2 commits into from
May 27, 2021
Merged

Mask token in Terraform state output #564

merged 2 commits into from
May 27, 2021

Conversation

0x2b3bfa0
Copy link
Member

@0x2b3bfa0 0x2b3bfa0 commented May 26, 2021

Currently, CI/CD platforms mask it from their logs without requiring us to do anything, but we should mask it on our side anyways.

The proper fix would be honoring the sensitive property of fields by using Terraform CDK as per #556 and outputting only what is needed with output values; e.g. the instance address. See iterative/terraform-provider-iterative#92 and iterative/terraform-provider-iterative#120 for more information.

@0x2b3bfa0 0x2b3bfa0 temporarily deployed to test-internal May 26, 2021 22:20 Inactive
Copy link
Contributor

@DavidGOrtega DavidGOrtega left a comment

Choose a reason for hiding this comment

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

👍

@casperdcl casperdcl changed the base branch from master to devel May 27, 2021 15:29
@casperdcl casperdcl merged commit 70c71e0 into devel May 27, 2021
@casperdcl casperdcl deleted the mask-token-terraform branch May 27, 2021 15:29
@casperdcl casperdcl mentioned this pull request May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p1-important High priority security Sensitive flaws
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants