Restoring the example policies for blocking sha1 (#9677)
(In the transit api-docs)
This commit is contained in:
parent
922dddf2c6
commit
f0f576f5bf
|
@ -891,9 +891,9 @@ supports signing.
|
|||
only for legacy applications. Signing using SHA-1 can be blocked by operators by
|
||||
assigning the following policy corresponding to a named key:
|
||||
|
||||
```
|
||||
{
|
||||
]
|
||||
```hcl
|
||||
path "/transit/sign/:name/sha1" {
|
||||
capabilities = ["deny"]
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -1046,9 +1046,9 @@ data.
|
|||
be blocked by operators by assigning the following policy corresponding to a
|
||||
named key:
|
||||
|
||||
```
|
||||
{
|
||||
]
|
||||
```hcl
|
||||
path "/transit/verify/:name/sha1" {
|
||||
capabilities = ["deny"]
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue