|
|
@ -69,8 +69,8 @@ token replication enabled.
|
|
|
|
## Binding Rules
|
|
|
|
## Binding Rules
|
|
|
|
|
|
|
|
|
|
|
|
Binding rules allow an operator to express a systematic way of automatically
|
|
|
|
Binding rules allow an operator to express a systematic way of automatically
|
|
|
|
linking [roles](/docs/security/acl/acl-system#acl-roles) and [service
|
|
|
|
linking [roles](/docs/security/acl/acl-roles) and [service
|
|
|
|
identities](/docs/security/acl/acl-system#acl-service-identities) to newly created
|
|
|
|
identities](/docs/security/acl/acl-roles#service-identities) to newly created
|
|
|
|
tokens without operator intervention.
|
|
|
|
tokens without operator intervention.
|
|
|
|
|
|
|
|
|
|
|
|
Successful authentication with an auth method returns a set of trusted
|
|
|
|
Successful authentication with an auth method returns a set of trusted
|
|
|
@ -88,8 +88,8 @@ Each binding rule is composed of two portions:
|
|
|
|
`"serviceaccount.namespace==default and serviceaccount.name!=vault"`
|
|
|
|
`"serviceaccount.namespace==default and serviceaccount.name!=vault"`
|
|
|
|
|
|
|
|
|
|
|
|
- **Bind Type and Name** - A binding rule can bind a token to a
|
|
|
|
- **Bind Type and Name** - A binding rule can bind a token to a
|
|
|
|
[role](/docs/security/acl/acl-system#acl-roles) or to a [service
|
|
|
|
[role](/docs/security/acl/acl-roles) or to a [service
|
|
|
|
identity](/docs/security/acl/acl-system#acl-service-identities) by name. The name
|
|
|
|
identity](/docs/security/acl/acl-roles#service-identities) by name. The name
|
|
|
|
can be specified with a plain string or the bind name can be lightly
|
|
|
|
can be specified with a plain string or the bind name can be lightly
|
|
|
|
templated using [HIL syntax](https://github.com/hashicorp/hil) to interpolate
|
|
|
|
templated using [HIL syntax](https://github.com/hashicorp/hil) to interpolate
|
|
|
|
the same values that are usable by the `Selector` syntax. For example:
|
|
|
|
the same values that are usable by the `Selector` syntax. For example:
|
|
|
|