v1

latestOpenAPI 3.0.2Mozilla Public License 2.02026-07-17307105155.2 KB
system

Enables a new auth method.

After enabling, the auth method can be accessed and configured via the auth path specified as part of the URL. This auth path will be nested under the auth prefix.

For example, enable the "foo" auth method will make it accessible at /auth/foo.

post/sys/auth/{path}

Request body

configobject

Configuration for this mount, such as plugin_name.

descriptionstring

User-friendly description for this credential backend.

external_entropy_accessboolean

Whether to give the mount access to Vault's external entropy.

localboolean

Mark the mount as a local mount, which is not replicated and is unaffected by replication.

optionsobject

The options to pass into the backend. Should be a json object with string keys and values.

plugin_namestring

Name of the auth plugin to use based from the name in the plugin catalog.

plugin_versionstring

The semantic version of the plugin to use.

seal_wrapboolean

Whether to turn on seal wrapping for the mount.

typestring

The type of the backend. Example: "userpass"

Response

OK