RADIUS auth method
The radius
auth method allows users to authenticate with Vault using an
existing RADIUS server that accepts the PAP authentication scheme.
Authentication
The default path is /radius
. If this auth method was enabled at a different
path, specify -path=/my-path
in the CLI.
Via the CLI
Via the API
The default endpoint is auth/radius/login
. If this auth method was enabled
at a different path, use that value instead of radius
.
The response will contain a token at auth.client_token
:
Configuration
Via the CLI
Enable the radius auth method:
Configure connection details for your RADIUS server.
For the complete list of configuration options, please see the API documentation.
The above creates a new mapping for user "mitchellh" that will be associated with the "admins" policy.
Alternatively, Vault can assign a configurable set of policies to any user that successfully authenticates with the RADIUS server but has no explicit mapping in the
users/
path. This is done through theunregistered_user_policies
configuration parameter.
API
The RADIUS auth method has a full HTTP API. Please see the RADIUS Auth API for more details.