Boundary controller HTTP API
Auth Method Service
Lists all auth methods.
Query Parameters
scope_id
string
The scope id in which to list auth methods.
recursive
boolean
Whether to recursively list auth methods in child scopes of the provided scope.
filter
string
Filter can be specified to only return items that match the filter. See filter expressions for more information.
list_token
string
An opaque token used to continue an existing iteration or request updated items. If not specified, pagination will start from the beginning. To learn more about list pagination in Boundary, refer to list pagination.
page_size
integer
The maximum size of a page in this iteration. If unset, the default page size configured will be used. If the page_size is greater than the max page size configured, the page size will be truncated to this number.
Creates a single auth method.
Body Parameters
scope_id
string
The ID of the Scope of which this Auth Method is a part.
name
string
Optional name for identification purposes.
description
string
Optional user-set description for identification purposes.
version
integer
Version is used in mutation requests, after the initial creation, to ensure this resource has not changed. The mutation will fail if the version does not match the latest known good version.
type
string
The Auth Method type.
attributes
object
The attributes that are applicable for the specific Auth Method type.
Authenticate a user to an scope and retrieve an authentication token.
Path Parameters
auth_method_id
string
RequiredThe ID of the auth method in the system that should be used for authentication.
Body Parameters
token_type
string
This can be "cookie" or "token". If not provided, "token" will be used. "cookie" activates a split-cookie method where the token is split partially between http-only and regular cookies in order to keep it safe from rogue JS in the browser. Deprecated, use "type" instead.
type
string
This can be "cookie" or "token". If not provided, "token" will be used. "cookie" activates a split-cookie method where the token is split partially between http-only and regular cookies in order to keep it safe from rogue JS in the browser.
attributes
object
Attributes are passed to the auth method; the valid keys and values depend on the type of auth method as well as the command.
command
string
The command to perform.
Gets a single auth method.
Path Parameters
id
string
RequiredId of the auth method being requested.
Deletes an AuthMethod
Path Parameters
id
string
RequiredUpdates an auth method.
Path Parameters
id
string
RequiredBody Parameters
scope_id
string
The ID of the Scope of which this Auth Method is a part.
name
string
Optional name for identification purposes.
description
string
Optional user-set description for identification purposes.
version
integer
Version is used in mutation requests, after the initial creation, to ensure this resource has not changed. The mutation will fail if the version does not match the latest known good version.
type
string
The Auth Method type.
attributes
object
The attributes that are applicable for the specific Auth Method type.
Changes the state of an OIDC AuthMethod
Path Parameters
id
string
RequiredBody Parameters
version
integer
Version is used to ensure this resource has not changed. The mutation will fail if the version does not match the latest known good version.
attributes
object
The attributes specific to this auth method's state.