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

Enhancement: Add support for splunk.secret to be passed as a variable #50

Open
chrisbalmer opened this issue Mar 13, 2021 · 2 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@chrisbalmer
Copy link

I'd like to be able to pass the splunk.secret as a variable instead of a file so it can be pulled from a secret storage (i.e. HashiCorp Vault, 1Password, etc).

@shparker1977
Copy link

You can also do this with the builtin ansible copy module:

- name: Push the secrets file
  tags: install
  copy:
    content: '{{ splunk_secret' }}'
    dest: '{{ splunk_home }}/etc/auth/splunk.secret'
  notify:
    - restart splunk

@peterchenadded
Copy link

Other code needs to be updated, otherwise all pass4symmkey and sslPasswords won't be able to decrypt and your server probably won't start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants