2020-10-05 08:54:06 -07:00
|
|
|
---
|
|
|
|
|
layout: docs
|
2020-10-10 16:40:06 -04:00
|
|
|
page_title: Domain Model - Accounts
|
2020-10-05 08:54:06 -07:00
|
|
|
description: |-
|
2020-10-10 16:40:06 -04:00
|
|
|
The anatomy of a Boundary account
|
2020-10-05 08:54:06 -07:00
|
|
|
---
|
|
|
|
|
|
2020-10-10 16:40:06 -04:00
|
|
|
# Accounts
|
2020-10-05 08:54:06 -07:00
|
|
|
|
2020-10-11 12:47:45 -04:00
|
|
|
An account is a resource
|
|
|
|
|
that represents a unique set of credentials
|
2020-10-12 16:19:13 -04:00
|
|
|
issued from a configured [auth method][]
|
2020-10-11 12:47:45 -04:00
|
|
|
which can be used to establish the identity of a user.
|
|
|
|
|
A [user][] can have zero or more accounts
|
|
|
|
|
but an account can only belong to a single user.
|
2020-10-12 18:18:17 -04:00
|
|
|
An account can only be associated with a user
|
|
|
|
|
in the same scope as the account's [auth method][].
|
2020-10-05 08:54:06 -07:00
|
|
|
|
|
|
|
|
## Attributes
|
|
|
|
|
|
2020-10-11 12:47:45 -04:00
|
|
|
All account types have the following configurable attributes:
|
|
|
|
|
|
|
|
|
|
- `name` - (optional)
|
2020-10-12 16:19:13 -04:00
|
|
|
If set, the `name` must be unique within the account's [auth method][].
|
2020-10-11 12:47:45 -04:00
|
|
|
|
|
|
|
|
- `description` - (optional)
|
|
|
|
|
|
|
|
|
|
### Password Account Attributes
|
|
|
|
|
|
|
|
|
|
Password account types have the following additional attributes:
|
|
|
|
|
|
|
|
|
|
- `login_name` - (required)
|
2020-10-12 16:19:13 -04:00
|
|
|
Must be unique within the account's [auth method][].
|
2020-10-11 12:47:45 -04:00
|
|
|
Can only contain lower case letters.
|
|
|
|
|
|
|
|
|
|
- `password` - (optional)
|
|
|
|
|
Not setting the `password` disables the account.
|
|
|
|
|
|
|
|
|
|
## Referenced By
|
|
|
|
|
|
2020-10-12 16:19:13 -04:00
|
|
|
- [Auth Method][]
|
2021-06-09 07:55:02 -05:00
|
|
|
- [Managed Group][]
|
2020-10-11 14:21:04 -04:00
|
|
|
- [User][]
|
2020-10-11 12:47:45 -04:00
|
|
|
|
2020-10-12 16:19:13 -04:00
|
|
|
[auth method]: /docs/concepts/domain-model/auth-methods
|
2021-06-09 07:55:02 -05:00
|
|
|
[managed group]: /docs/concepts/domain-model/managed-groups
|
2020-10-11 12:47:45 -04:00
|
|
|
[user]: /docs/concepts/domain-model/users
|
2020-10-12 17:40:42 -04:00
|
|
|
|
|
|
|
|
## Service API Docs
|
|
|
|
|
|
|
|
|
|
The following services are relevant to this resource:
|
|
|
|
|
|
2020-10-12 18:18:17 -04:00
|
|
|
- [Account Service](/api-docs/account-service)
|