Module: RubyLLM::BedrockInvoke::ConfigurationRedaction
- Defined in:
- lib/ruby_llm-bedrock_invoke.rb
Overview
1.x Configuration#inspect redacts ivars by suffix (_key/_secret/_token...) but not _credential_provider, so a custom credentials object would print its secrets in consoles and error reporters. 2.0's redaction already covers the suffix.
Instance Method Summary collapse
Instance Method Details
#instance_variables ⇒ Object
89 90 91 |
# File 'lib/ruby_llm-bedrock_invoke.rb', line 89 def instance_variables super.reject { |ivar| ivar.to_s.end_with?('_credential_provider') } end |