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

Secret parameters aren't sealed when dumped via RPC #1576

Closed
mururu opened this issue May 19, 2017 · 0 comments
Closed

Secret parameters aren't sealed when dumped via RPC #1576

mururu opened this issue May 19, 2017 · 0 comments
Assignees
Labels
bug Something isn't working v0.12 v0.14

Comments

@mururu
Copy link
Member

mururu commented May 19, 2017

  • fluentd 0.12, 0.14
$ bundle exec bin/fluentd -c worker.conf
2017-05-19 13:37:24 +0900 [info]: reading config file path="worker.conf"
2017-05-19 13:37:24 +0900 [info]: starting fluentd-0.12.35
2017-05-19 13:37:24 +0900 [info]: gem 'fluentd' version '0.12.35'
2017-05-19 13:37:24 +0900 [info]: gem 'fluent-plugin-forest' version '0.3.3'
2017-05-19 13:37:24 +0900 [info]: adding match pattern="**" type="null"
2017-05-19 13:37:24 +0900 [info]: adding source type="fake"
2017-05-19 13:37:24 +0900 [info]: using configuration file: <ROOT>
  <system>
    rpc_endpoint 127.0.0.1:9000
  </system>
  <source>
    @type fake
    secret xxxxxx
  </source>
  <match>
    @type null
  </match>
</ROOT>
$ curl http://127.0.0.1:9000/api/config.dump
{"ok":true}%
2017-05-19 13:37:30 +0900 [info]: dump in-memory config
2017-05-19 13:37:30 +0900 [info]: <ROOT>
  <system>
    rpc_endpoint 127.0.0.1:9000
  </system>
  <source>
    @type fake
    secret very-secret-string0
  </source>
  <match>
    @type null
  </match>
</ROOT>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v0.12 v0.14
Projects
None yet
Development

No branches or pull requests

2 participants