mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 01:32:33 +00:00
Fix bug setting PKI issuer enable_aia_url_templating to be set to false (#28832)
Fix bug setting PKI issuer enable_aia_url_templating to be set to false.
This commit is contained in:
@@ -913,7 +913,7 @@ func (b *backend) pathPatchIssuer(ctx context.Context, req *logical.Request, dat
|
||||
if enableTemplatingRaw, ok := data.GetOk("enable_aia_url_templating"); ok {
|
||||
enableTemplating := enableTemplatingRaw.(bool)
|
||||
if enableTemplating != issuer.AIAURIs.EnableTemplating {
|
||||
issuer.AIAURIs.EnableTemplating = enableTemplating // TODO: Is this correct? If it is, does it need to be backported?
|
||||
issuer.AIAURIs.EnableTemplating = enableTemplating
|
||||
modified = true
|
||||
}
|
||||
}
|
||||
|
||||
4
changelog/28832.txt
Normal file
4
changelog/28832.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
```release-note:bug
|
||||
secret/pki: Fix a bug that prevents PKI issuer field enable_aia_url_templating
|
||||
to be set to false.
|
||||
```
|
||||
Reference in New Issue
Block a user