Custom docker image with plug-in

31 views
Skip to first unread message

Marc

unread,
Jan 30, 2019, 7:59:11 AM1/30/19
to Vault
Hi everyone,

I made a login plug-in. And because we are using kubernete I want to make a custom docker image (from vault) and then copy the login plug-in.

I succeed to do that easily but then, an operator still need to enable the login plug-in.

I just wonder if there is a way to do so at the build time (of the docker image) ? Or at least the registration in the plug-in catalog?

I think it is not possible but just want to be sure.

Thank you

Brian Kassouf

unread,
Jan 30, 2019, 12:00:33 PM1/30/19
to vault...@googlegroups.com
Hi Marc,

For production installations we require the plugin to be registered "online" through the API. If you're working in dev mode you can use the "--dev-plugin-dir" flag and it will automatically register all the plugins in the provided directory.

Best,
Brian

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/dc514f8b-cc4d-4aed-99fb-3e0cbf2258b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

jo...@eximchain.com

unread,
Feb 27, 2019, 6:02:24 PM2/27/19
to Vault
Hi Brian,

Thanks for answering this question -- this post is the only spot where that option is documented!  Are the docs hosted someplace where I could make a PR onto them?  Would be nice if that option was mentioned here: https://www.vaultproject.io/docs/commands/server.html#dev-options

Best,

John

Brian Kassouf

unread,
Feb 27, 2019, 8:04:12 PM2/27/19
to vault...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages