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

ipmi_pass #606

Open
kplimack opened this issue Mar 9, 2020 · 1 comment
Open

ipmi_pass #606

kplimack opened this issue Mar 9, 2020 · 1 comment

Comments

@kplimack
Copy link

kplimack commented Mar 9, 2020

Hi,
Im syncing some assets into a secondary system and need to provide the IPMI creds.

Is there a way for me to extract a decrypted ipmi_password from an asset via the the database? I cant seem to find where the decryption key is stored

@ssgelm
Copy link
Contributor

ssgelm commented Nov 7, 2021

I'd imagine you have figured this out already, but the easiest option is probably to use collins-shell to get this. You can run a command like this:

collins-shell asset find --selector="tag:TUMBLRTAG1" --exec="COMMAND -p {{ipmi.password}}"

That will run the command you specify for each asset found and insert the ipmi password.

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

No branches or pull requests

2 participants