mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-30 02:02:43 +00:00 
			
		
		
		
	Update issuer usage with ocsp-signing by default (#17087)
This option was elided from the default value for the usage field. This results in issuers "losing" ocsp-signing when they're POST updated. Most issuers will want OCSP signing by default, so it makes sense to add this as the default. Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
This commit is contained in:
		| @@ -103,10 +103,10 @@ intermediate CAs and "permit" only for root CAs.`, | ||||
| 	fields["usage"] = &framework.FieldSchema{ | ||||
| 		Type: framework.TypeCommaStringSlice, | ||||
| 		Description: `Comma-separated list (or string slice) of usages for | ||||
| this issuer; valid values are "read-only", "issuing-certificates", and | ||||
| "crl-signing". Multiple values may be specified. Read-only is implicit | ||||
| and always set.`, | ||||
| 		Default: []string{"read-only", "issuing-certificates", "crl-signing"}, | ||||
| this issuer; valid values are "read-only", "issuing-certificates", | ||||
| "crl-signing", and "ocsp-signing". Multiple values may be specified. Read-only | ||||
| is implicit and always set.`, | ||||
| 		Default: []string{"read-only", "issuing-certificates", "crl-signing", "ocsp-signing"}, | ||||
| 	} | ||||
| 	fields["revocation_signature_algorithm"] = &framework.FieldSchema{ | ||||
| 		Type: framework.TypeString, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alexander Scheel
					Alexander Scheel