When creating an alias on the CLI, what should I set for the `mount_accessor`?

Hi everybody,

This page documents how to create an alias, and specifies that I need to set a mount_accessor, but gives very little information about what it is… I tried searching the whole documentation without success…

Thanks for your help!

In HashiCorp-speak, an “accessor” is an ID for something that you use to reference it in API operations.

A mount accessor is an accessor for a mount, then - in this case, for an auth method mount, specifically.

Display these using the vault auth list command.

1 Like

Brilliant, thanks @maxb !