Boundary controller HTTP API
Scope Service
Lists all Scopes within the Scope provided in the request.
Query Parameters
scope_id
string
recursive
boolean
filter
string
You can specify that the filter should only return items that match. Refer to filter expressions for more information.
list_token
string
An opaque token used to continue an existing iteration or request updated items. If paginating, use this token in the next list request.
page_size
integer
The maximum size of a page in this iteration. If you do not set a page size, Boundary uses the configured default page size. If the page_size is greater than the default page size configured, Boundary truncates the page size to this number.
Creates a single Scope.
Query Parameters
skip_admin_role_creation
boolean
skip_default_role_creation
boolean
Body Parameters
scope_id
string
The ID of the scope this resource is in. If this is the "global" scope this field will be empty.
name
string
Optional name for identification purposes.
description
string
Optional user-set descripton 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 type of the resource.
primary_auth_method_id
string
The ID of the primary auth method for this scope. A primary auth method is allowed to vivify users when new accounts are created and is the source for the users account info
Gets a single Scope.
Path Parameters
id
string
RequiredDeletes a Scope.
Path Parameters
id
string
RequiredUpdates a Scope.
Path Parameters
id
string
RequiredBody Parameters
scope_id
string
The ID of the scope this resource is in. If this is the "global" scope this field will be empty.
name
string
Optional name for identification purposes.
description
string
Optional user-set descripton 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 type of the resource.
primary_auth_method_id
string
The ID of the primary auth method for this scope. A primary auth method is allowed to vivify users when new accounts are created and is the source for the users account info
Attaches the specified Storage Policy to the Scope.
Path Parameters
id
string
RequiredBody Parameters
storage_policy_id
string
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.
Detaches the specified Storage Policy from the Scope.
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.
List all keys in a Scope.
Path Parameters
id
string
RequiredLists all pending key version destruction jobs in a Scope.
Path Parameters
scope_id
string
RequiredDestroy the specified key version in a Scope. This may start an asynchronous job that re-encrypts all data encrypted by the specified key version. Use GET /v1/scopes/{scope_id}:list-key-version-destruction-jobs to monitor pending destruction jobs.
Body Parameters
scope_id
string
key_version_id
string
Rotate all keys in a Scope.
Body Parameters
scope_id
string
rewrap
boolean