Skip to content

Feature Request: Automatic VCR filtering #10

@readeharris

Description

@readeharris

When using the vcr gem to mock HTTP responses, you need to add lines like this to make sure your secrets don't get into your cassette files:

VCR.configure do |c|
  # ...

  c.filter_sensitive_data('<GITHUB_APP_ID>') { ENV['GITHUB_APP_ID'] }
  c.filter_sensitive_data('<GITHUB_APP_SECRET>') { ENV['GITHUB_APP_SECRET'] }
end

It would be nice if secretive offered an integration that would automatically tell vcr to filter everything in secrets.yml.

I'll work on this when I have time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions