* docs: IA reorganization * docs: Updates * docs: Updates * docs: Fix links * docs: Updates * docs: Fix a typo * docs: Fix client agent topic * docs: Update Client Agent nav * docs: Fix conflict * docs: Fix a typo in Client Agent docs (#5853) * docs: Fix client agent topic * docs: Updates * docs: Updates * docs: Updates * docs: Updates * docs: Fixes get started and operations links * docs: Update nav * docs: Partials * docs: Unix partials * docs: Worker partials * docs: Updates * docs: Update workers and targets * docs: Updates * docs: Updates * docs: Fixes link * docs: Updates after sync review * docs: Updates from review feedback * docs: Move worker filter examples * docs: Fix links * docs: Updates for filters based on working session * docs: Fixes broken links * docs: Add links to other filter topics * docs: Update list intro * docs: Adds link * docs: Fixes redirects * docs: Fixes redirects * docs: Deleted mysql page from TOC * docs: Add versioned redirect * docs: Adds versioned redirects * docs: Adds versioned redirects * docs: Update redirects * docs: Update redirects * docs: Redirect fixes * docs: Update redirect format * docs: Fix a typo * docs: Fixes redirects * docs: Fixes redirect * docs: Adds links out to client agent troubleshooting * uses /etc/boundary.d/ as recommended installation directory (#6003) * docs: Updates legacy io links * docs: Fixes redirects * docs: Fix redirect * docs: Restoring deleted file --------- Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>
66 lines
2.1 KiB
Plaintext
66 lines
2.1 KiB
Plaintext
---
|
|
layout: docs
|
|
page_title: Host set resource
|
|
description: >-
|
|
Learn about using the host set resource to organize and manage hosts that have the same level of access control and belong to the same host catalog.
|
|
---
|
|
|
|
# Host sets
|
|
|
|
A host set is a resource
|
|
that represents a collection of [hosts][]
|
|
which are considered equivalent
|
|
for the purposes of access control.
|
|
A host set can only include hosts
|
|
from the same [host catalog][] as the host set.
|
|
A [target][] can reference host sets from host catalogs
|
|
which belong to the same [project][] as the target.
|
|
|
|
## Attributes
|
|
|
|
A host set has the following configurable attributes:
|
|
|
|
- `name` - (optional)
|
|
If set, the `name` must be unique within the host set's parent host catalog.
|
|
|
|
- `description` - (optional)
|
|
|
|
- `preferred_endpoints` - (optional)
|
|
A list of selector strings in the format of either `cidr:<valid IPv4/6 CIDR>`
|
|
or `dns:<globbed name>` used to select the addresses of hosts when
|
|
establishing a [session][] with a target.
|
|
|
|
### Plugin host set attributes
|
|
|
|
- `attributes` - (optional)
|
|
A collection of fields which the plugin uses to lookup which hosts should be
|
|
members of this host set. Often this includes a type of filter using a
|
|
syntax which is usable by the backing service.
|
|
|
|
- `sync_interval_seconds` - (optional)
|
|
The number of seconds between the time boundary syncs the hosts in this
|
|
set using this host set's plugin. Defaults to `600` seconds, or 10 minutes.
|
|
|
|
## Referenced by
|
|
|
|
- [Host][]
|
|
- [Host catalog][]
|
|
- [Target][]
|
|
|
|
[host catalog]: /boundary/docs/domain-model/host-catalogs
|
|
[host catalogs]: /boundary/docs/domain-model/host-catalogs
|
|
[host]: /boundary/docs/domain-model/hosts
|
|
[hosts]: /boundary/docs/domain-model/hosts
|
|
[project]: /boundary/docs/domain-model/scopes#projects
|
|
[projects]: /boundary/docs/domain-model/scopes#projects
|
|
[session]: /boundary/docs/domain-model/sessions
|
|
[sessions]: /boundary/docs/domain-model/sessions
|
|
[target]: /boundary/docs/domain-model/targets
|
|
[targets]: /boundary/docs/domain-model/targets
|
|
|
|
## Service API docs
|
|
|
|
The following services are relevant to this resource:
|
|
|
|
- [Host set service](/boundary/api-docs/host-set-service)
|