sixtyfour icon indicating copy to clipboard operation
sixtyfour copied to clipboard

Update vcr filters

Open sckott opened this issue 2 years ago • 0 comments

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"
  )
))

sckott avatar Jan 13 '24 05:01 sckott