You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Will be good to implement a "custom command" plugin, that will run a specific command and parse the output to retrieve the value.
For example, we have no integration for Bitwarden secrets storage backend. But Bitwarden provides a good cli interface that can be used to retrieve the values.
For example, we can introduce the configuration like this:
name: bitwardendataFormat: {id}/{fieldname}commandTemplate: bw get {fieldname} {id}outputType: json # plaintext|json|yamloutputValue: data.{fieldname} # JSON path, or YAML path, or Regexp
And then, we can refer to this provider like this:
@MurzNN Hey! Thanks for bringing this up. This is now a good idea, especially after we realized that there is a concrete example of where this custom-command-plugin would be handy- Bitwarden's SDK isn't light enough and gives us no ability to build a one-binary solution.
Will be good to implement a "custom command" plugin, that will run a specific command and parse the output to retrieve the value.
For example, we have no integration for Bitwarden secrets storage backend. But Bitwarden provides a good cli interface that can be used to retrieve the values.
For example, we can introduce the configuration like this:
And then, we can refer to this provider like this:
And the same approach can cover any other secrets storage that provides command line interface!
What do you think about this idea?
The text was updated successfully, but these errors were encountered: