sixtyfour
sixtyfour copied to clipboard
Update vcr filters
e.g., was doing this on manage-secrets branch but it's not specific to that branch ...
invisible(vcr::vcr_configure(
dir = vcr::vcr_test_path("fixtures"),
filter_sensitive_data = list(
"<<aws_region>>" = Sys.getenv("AWS_REGION"),
"ClientRequestToken" = "something"
),
filter_request_headers = list(
Authorization = "redacted",
"X-Amz-Content-Sha256" = "redacted",
"X-Amz-Target" = "redacted",
"User-Agent" = "redacted"
),
filter_response_headers = list(
"x-amz-id-2" = "redacted",
"x-amz-request-id" = "redacted",
"x-amzn-requestid" = "redacted"
)
))