open-vault/builtin/logical/pki
Alexander Scheel 3ed31ff262
Add acme account storage (#19953)
* Enable creation of accounts

 - Refactors many methods to take an acmeContext, which holds the
   storageContext on it.
 - Updates the core ACME Handlers to use *acmeContext, to avoid
   copying structs.
 - Makes JWK exported so the JSON parser can find it.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Finish ACME account creation

 - This ensures a Kid is created when one doesn't exist
 - Expands the parsed handler capabilities, to format the response and
   set required headers.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

---------

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-04-03 16:08:25 -04:00
..
cmd/pki adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
acme_errors.go Merge ACME package back into the PKI package (#19826) 2023-03-29 21:08:31 +00:00
acme_jws.go Add acme account storage (#19953) 2023-04-03 16:08:25 -04:00
acme_state.go Add acme account storage (#19953) 2023-04-03 16:08:25 -04:00
acme_state_test.go Merge ACME package back into the PKI package (#19826) 2023-03-29 21:08:31 +00:00
backend.go Merge ACME package back into the PKI package (#19826) 2023-03-29 21:08:31 +00:00
backend_test.go Add ACME new account creation handlers (#19820) 2023-03-29 19:06:09 +00:00
ca_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
ca_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
cert_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
cert_util_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
chain_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
chain_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
config_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
crl_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
crl_util.go More wrapped errors - PKI, SSH, Transit (#19631) 2023-03-20 16:00:49 +00:00
fields.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
integration_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
key_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
managed_key_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_acme_directory.go Add acme account storage (#19953) 2023-04-03 16:08:25 -04:00
path_acme_new_account.go Add acme account storage (#19953) 2023-04-03 16:08:25 -04:00
path_acme_nonce.go Add acme account storage (#19953) 2023-04-03 16:08:25 -04:00
path_acme_test.go Rework the ACME test suite to use full Vault cluster to validate behavior (#19874) 2023-04-03 09:38:20 -04:00
path_config_ca.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_config_cluster.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_config_crl.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_config_urls.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_fetch.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_fetch_issuers.go Add tests for PKI endpoint authentication (#19704) 2023-03-23 15:54:26 +00:00
path_fetch_keys.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_intermediate.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_issue_sign.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_manage_issuers.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_manage_keys.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_manage_keys_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_ocsp.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_ocsp_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_resign_crls.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_resign_crls_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_revoke.go Forward PKI revocation requests received by standby nodes to active node (#19624) 2023-03-20 14:58:36 +00:00
path_roles.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_roles_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_root.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_sign_issuers.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_tidy.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_tidy_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
periodic.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
secret_certs.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
storage.go More wrapped errors - PKI, SSH, Transit (#19631) 2023-03-20 16:00:49 +00:00
storage_migrations.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
storage_migrations_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
storage_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
storage_unified.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
test_helpers.go Initial ACME new-nonce API (#19822) 2023-03-29 18:22:48 +00:00
util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00