Skip to content

vault plugin register does not explain how the -env argument can be used #1226

@ilsaloving-gander

Description

@ilsaloving-gander

vault plugin register(https://github.com/hashicorp/web-unified-docs/blob/main/content/vault/v1.21.x/content/docs/commands/plugin/register.mdx) has an argument for setting environment variables the plugin should receive, but it does not provide a format nor examples of how to use it.

Are we setting new variables? ie: vault plugin register -command=mycommand -env=MYVAR=MYDATA
Is it defining an env var vault should look for in it's own environment, and pass that to the plugin? ie: vault plugin register -command=mycommand -env=MY_VAR_SET_WHEN_VAULT_STARTED

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions