mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-03 22:02:19 -04:00
UI/fix policy template doclinks (#18443)
* wip tests
* fix links
* Revert "wip tests"
This reverts commit aed9bb9b8f.
This commit is contained in:
parent
0379e56695
commit
8073534b46
2 changed files with 3 additions and 5 deletions
|
|
@ -31,15 +31,14 @@
|
|||
{{#if (eq this.policy.policyType "acl")}}
|
||||
<p>
|
||||
ACL Policies are written in Hashicorp Configuration Language (
|
||||
<DocLink @host="https://github.com/hashicorp/hcl">HCL</DocLink>
|
||||
<ExternalLink @href="https://github.com/hashicorp/hcl">HCL</ExternalLink>
|
||||
) or JSON and describe which paths in Vault a user or machine is allowed to access. Here is an example policy:
|
||||
</p>
|
||||
{{else}}
|
||||
<p class="has-bottom-margin-s">
|
||||
Role Governing Policies (RGPs) are tied to client tokens or identities which is similar to
|
||||
<DocLink @host="https://developer.hashicorp.com" @path="/vault/tutorials/policies/policies">ACL policies</DocLink>.
|
||||
They use
|
||||
<DocLink @host="https://developer.hashicorp.com" @path="/vault/docs/enterprise/sentinel">Sentinel</DocLink>
|
||||
<DocLink @path="/vault/tutorials/policies/policies">ACL policies</DocLink>. They use
|
||||
<DocLink @path="/vault/docs/enterprise/sentinel">Sentinel</DocLink>
|
||||
as a language framework to enable fine-grained policy decisions.
|
||||
</p>
|
||||
<p>
|
||||
|
|
|
|||
|
|
@ -74,7 +74,6 @@
|
|||
{{uppercase @model.policyType}}
|
||||
policies can be found
|
||||
<DocLink
|
||||
@host="https://developer.hashicorp.com"
|
||||
@path={{if
|
||||
(eq @model.policyType "acl")
|
||||
"/vault/docs/concepts/policies#capabilities"
|
||||
|
|
|
|||
Loading…
Reference in a new issue