Skip to content

Commit

Permalink
secrets/pki: fix server_flag being ignored (#1933)
Browse files Browse the repository at this point in the history
  • Loading branch information
fairclothjm committed Jul 10, 2023
1 parent ff071c4 commit e18733f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vault/resource_pki_secret_backend_role.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ var pkiSecretFields = []string{
consts.FieldOrganization,
consts.FieldPostalCode,
consts.FieldProvince,
consts.FieldServerFlag,
consts.FieldStreetAddress,
consts.FieldTTL,
}
Expand All @@ -63,13 +62,14 @@ var pkiSecretBooleanFields = []string{
consts.FieldAllowIPSans,
consts.FieldAllowLocalhost,
consts.FieldAllowSubdomains,
consts.FieldAllowedURISansTemplate,
consts.FieldAllowWildcardCertificates,
consts.FieldAllowedURISansTemplate,
consts.FieldBasicConstraintsValidForNonCA,
consts.FieldEnforceHostnames,
consts.FieldGenerateLease,
consts.FieldNoStore,
consts.FieldRequireCN,
consts.FieldServerFlag,
consts.FieldUseCSRCommonName,
consts.FieldUseCSRSans,
}
Expand Down

0 comments on commit e18733f

Please sign in to comment.