vault/command
Bruno Oliveira de Souza 0b9157156f
VAULT-32657 deprecate duplicate attributes in HCL configs and policies (#30386)
* upgrade hcl dependency on api pkg

This upgrades the hcl dependency for the API pkg,
and adapts its usage so users of our API pkg are
not affected. There's no good way of communicating
a warning via a library call so we don't.

The tokenHelper which is used by all Vault CLI
commands in order to create the Vault client, as
well as directly used by the login and server
commands, is implemented on the api pkg, so this
upgrade also affects all of those commands. Seems
like this was only moved to the api pkg because
the Terraform provider uses it, and I thought
creating a full copy of all those files back under
command would be too much spaghetti.

Also leaving some TODOs to make next deprecation
steps easier.

* upgrade hcl dependency in vault and sdk pkgs

* upgrade hcl dependency in vault and sdk pkgs

* add CLI warnings to commands that take a config

- vault agent (unit test on CMD warning)
- vault proxy (unit test on CMD warning)
- vault server (no test for the warning)
- vault operator diagnose (no tests at all, uses the
same function as vault server

* ignore duplicates on ParseKMSes function

* Extend policy parsing functions and warn on policy store

* Add warning on policy fmt with duplicate attributes

* Add warnings when creating/updating policy with duplicate HCL attrs

* Add log warning when switchedGetPolicy finds duplicate attrs

Following operations can trigger this warning when they run into a policy
with duplicate attributes:
* replication filtered path namespaces invalidation
* policy read API
* building an ACL (for many different purposes like most authZ operations)
* looking up DR token policies
* creating a token with named policies
* when caching the policies for all namespaces during unseal

* Print log warnings when token inline policy has duplicate attrs

No unit tests on these as new test infra would have to be built on all.
Operations affected, which will now print a log warning when the retrieved
token has an inline policy with duplicate attributes:
* capabilities endpoints in sys mount
* handing events under a subscription with a token with duplicate
attrs in inline policies
* token used to create another token has duplicate attrs in inline
policies (sudo check)
* all uses of fetchACLTokenEntryAndEntity when the request uses a
token with inline policies with duplicate attrs. Almost all reqs
are subject to this
* when tokens are created with inline policies (unclear exactly how that
can happen)

* add changelog and deprecation notice

* add missing copywrite notice

* fix copy-paste mistake

good thing it was covered by unit tests

* Fix manual parsing of telemetry field in SharedConfig

This commit in the hcl library was not in the
v1.0.1-vault-5 version we're using but is
included in v1.0.1-vault-7:
e80118accb

This thing of reusing when parsing means that
our approach of manually re-parsing fields
on top of fields that have already been parsed
by the hcl annotation causes strings (maybe
more?) to concatenate.

Fix that by removing annotation. There's
actually more occurrences of this thing of
automatically parsing something that is also
manually parsing. In some places we could
just remove the boilerplate manual parsing, in
others we better remove the auto parsing, but
I don't wanna pull at that thread right now. I
just checked that all places at least fully
overwrite the automatically parsed field
instead of reusing it as the target of the
decode call. The only exception is the AOP
field on ent but that doesn't have maps or
slices, so I think it's fine.

An alternative approach would be to ensure
that the auto-parsed value is discarded,
like the current parseCache function does

note how it's template not templates

* Fix linter complaints

* Update command/base_predict.go

Co-authored-by: Mike Palmiotto <mike.palmiotto@hashicorp.com>

* address review

* remove copywrite headers

* re-add copywrite headers

* make fmt

* Update website/content/partials/deprecation/duplicate-hcl-attributes.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update website/content/partials/deprecation/duplicate-hcl-attributes.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update website/content/partials/deprecation/duplicate-hcl-attributes.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* undo changes to deprecation.mdx

* remove deprecation doc

* fix conflict with changes from main

---------

Co-authored-by: Mike Palmiotto <mike.palmiotto@hashicorp.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2025-05-23 16:02:07 -03:00
..
agent VAULT-32657 deprecate duplicate attributes in HCL configs and policies (#30386) 2025-05-23 16:02:07 -03:00
agentproxyshared Prepare code base for Go 1.24 update. (#29412) 2025-01-27 14:34:07 -05:00
command_testonly VAULT-34674 (#30164) 2025-04-15 09:36:14 -04:00
config Upgrade FIPS 1402 -> 1403 (#30576) 2025-05-12 15:01:30 -05:00
healthcheck Use enumer to generate String() methods for most enums (#25705) 2024-04-17 11:14:14 -07:00
proxy VAULT-32657 deprecate duplicate attributes in HCL configs and policies (#30386) 2025-05-23 16:02:07 -03:00
server VAULT-32657 deprecate duplicate attributes in HCL configs and policies (#30386) 2025-05-23 16:02:07 -03:00
test-backend [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
test-fixtures disable_mlock must now be explicitly included in config (#29974) 2025-04-17 15:35:40 +02:00
token Move CLI token helper to api module (#25744) 2024-03-04 18:29:20 +00:00
agent.go VAULT-32657 deprecate duplicate attributes in HCL configs and policies (#30386) 2025-05-23 16:02:07 -03:00
agent_generate_config.go VAULT-22552: Add MaxConnsPerHost field to Agent template_config (#24548) 2024-01-03 15:06:41 -05:00
agent_generate_config_test.go VAULT-22552: Add MaxConnsPerHost field to Agent template_config (#24548) 2024-01-03 15:06:41 -05:00
agent_test.go VAULT-32657 deprecate duplicate attributes in HCL configs and policies (#30386) 2025-05-23 16:02:07 -03:00
approle_concurrency_integ_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
audit.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
audit_disable.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
audit_disable_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
audit_enable.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
audit_enable_test.go fix race test (#26500) 2024-04-18 17:43:07 +00:00
audit_list.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
audit_list_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
auth.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
auth_disable.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
auth_disable_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
auth_enable.go Support trimming trailing slashes via a mount tuneable to support CMPv2 (#28752) 2024-10-24 10:47:17 -05:00
auth_enable_test.go Support trimming trailing slashes via a mount tuneable to support CMPv2 (#28752) 2024-10-24 10:47:17 -05:00
auth_help.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
auth_help_test.go add gosimport to make fmt and run it (#25383) 2024-02-13 14:07:02 -08:00
auth_list.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
auth_list_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
auth_move.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
auth_move_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
auth_test.go add gosimport to make fmt and run it (#25383) 2024-02-13 14:07:02 -08:00
auth_tune.go Support trimming trailing slashes via a mount tuneable to support CMPv2 (#28752) 2024-10-24 10:47:17 -05:00
auth_tune_test.go Support trimming trailing slashes via a mount tuneable to support CMPv2 (#28752) 2024-10-24 10:47:17 -05:00
base.go VAULT-32657 deprecate duplicate attributes in HCL configs and policies (#30386) 2025-05-23 16:02:07 -03:00
base_flags.go VAULT-33758: IPv6 address conformance for proxy and agent (#29517) 2025-02-27 15:57:46 -07:00
base_flags_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
base_helpers.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
base_helpers_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
base_predict.go VAULT-32657 deprecate duplicate attributes in HCL configs and policies (#30386) 2025-05-23 16:02:07 -03:00
base_predict_test.go Add tweaks to tests for the new enterprise SCEP test (#30495) 2025-05-02 11:28:16 -04:00
base_test.go VAULT-33758: IPv6 address conformance for proxy and agent (#29517) 2025-02-27 15:57:46 -07:00
command_stubs_oss.go CE: Remove RequestLimiter config plumbing (#28592) 2024-10-04 13:48:16 -04:00
command_test.go VAULT-31751, VAULT-31752: removed_from_cluster in vault status (#28938) 2024-11-19 11:13:10 +01:00
commands.go plugin register with artifact stubs VAULT-32686 (#29113) 2025-01-09 08:20:09 -08:00
commands_full.go replace global vault handlers with newVaultHandlers() (#27515) 2024-06-18 15:17:40 +00:00
commands_full_test.go replace global vault handlers with newVaultHandlers() (#27515) 2024-06-18 15:17:40 +00:00
commands_min.go replace global vault handlers with newVaultHandlers() (#27515) 2024-06-18 15:17:40 +00:00
commands_nonwindows.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
commands_test.go replace global vault handlers with newVaultHandlers() (#27515) 2024-06-18 15:17:40 +00:00
commands_windows.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
debug.go VAULT-33758: IPv6 address conformance for proxy and agent (#29517) 2025-02-27 15:57:46 -07:00
debug_test.go Prepare code base for Go 1.24 update. (#29412) 2025-01-27 14:34:07 -05:00
delete.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
delete_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
events.go Websocket lib has moved, see https://coder.com/blog/websocket. (#29386) 2025-01-22 19:30:03 +00:00
events_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
format.go VAULT-31751, VAULT-31752: removed_from_cluster in vault status (#28938) 2024-11-19 11:13:10 +01:00
format_test.go Correct the post-unseal meaning of the seal status type (#23022) 2023-10-09 12:53:13 -05:00
generaterootkind_enumer.go Use enumer to generate String() methods for most enums (#25705) 2024-04-17 11:14:14 -07:00
kv.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
kv_delete.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
kv_destroy.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
kv_enable_versioning.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
kv_get.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
kv_helpers.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
kv_helpers_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
kv_list.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
kv_metadata.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
kv_metadata_delete.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
kv_metadata_get.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
kv_metadata_patch.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
kv_metadata_patch_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
kv_metadata_put.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
kv_metadata_put_test.go make-fmt (#24940) 2024-01-18 20:00:00 +00:00
kv_patch.go Consistently refer to Key Value secrets engine as KV (#24529) 2023-12-14 11:28:58 -08:00
kv_put.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
kv_rollback.go Consistently refer to Key Value secrets engine as KV (#24529) 2023-12-14 11:28:58 -08:00
kv_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
kv_undelete.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
lease.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
lease_lookup.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
lease_lookup_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
lease_renew.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
lease_renew_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
lease_revoke.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
lease_revoke_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
list.go VAULT-36198: Add API/CLI support for reading, listing, recovering from a snapshot (#30701) 2025-05-21 15:10:20 +02:00
list_test.go VAULT-36198: Add API/CLI support for reading, listing, recovering from a snapshot (#30701) 2025-05-21 15:10:20 +02:00
log_flags.go release log gate if disable-gated-logs flag is set (#24280) 2023-12-11 08:08:48 -08:00
log_flags_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
login.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
login_test.go VAULT-32657 deprecate duplicate attributes in HCL configs and policies (#30386) 2025-05-23 16:02:07 -03:00
main.go explain how -output-curl-string works in comments to avoid confusion (#28576) 2024-10-04 11:14:21 -07:00
monitor.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
monitor_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
namespace.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
namespace_api_lock.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
namespace_api_unlock.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
namespace_create.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
namespace_delete.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
namespace_list.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
namespace_lookup.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
namespace_patch.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_diagnose.go replace global vault handlers with newVaultHandlers() (#27515) 2024-06-18 15:17:40 +00:00
operator_diagnose_test.go Prepare code base for Go 1.24 update. (#29412) 2025-01-27 14:34:07 -05:00
operator_generate_root.go Use enumer to generate String() methods for most enums (#25705) 2024-04-17 11:14:14 -07:00
operator_generate_root_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_init.go add gosimport to make fmt and run it (#25383) 2024-02-13 14:07:02 -08:00
operator_init_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_key_status.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_key_status_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_members.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_migrate.go VAULT-32657 deprecate duplicate attributes in HCL configs and policies (#30386) 2025-05-23 16:02:07 -03:00
operator_migrate_test.go VAULT-32657 deprecate duplicate attributes in HCL configs and policies (#30386) 2025-05-23 16:02:07 -03:00
operator_raft.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_raft_autopilot_get_config.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_raft_autopilot_set_config.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_raft_autopilot_state.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_raft_join.go VAULT-33758: IPv6 address conformance for proxy and agent (#29517) 2025-02-27 15:57:46 -07:00
operator_raft_listpeers.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_raft_remove_peer.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_raft_snapshot.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_raft_snapshot_inspect.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_raft_snapshot_inspect_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_raft_snapshot_restore.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_raft_snapshot_save.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_rekey.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_rekey_test.go add gosimport to make fmt and run it (#25383) 2024-02-13 14:07:02 -08:00
operator_seal.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_seal_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_step_down.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_step_down_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_unseal.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_unseal_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
operator_usage.go VAULT-29738 CE changes for client count warning (#28068) 2024-08-14 09:31:02 -04:00
operator_utilization.go manual reporting cli oss changes (#25109) 2024-01-26 13:00:38 -08:00
patch.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
patch_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
path_help.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
path_help_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
pgp_test.go add gosimport to make fmt and run it (#25383) 2024-02-13 14:07:02 -08:00
pki.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
pki_health_check.go add gosimport to make fmt and run it (#25383) 2024-02-13 14:07:02 -08:00
pki_health_check_test.go add gosimport to make fmt and run it (#25383) 2024-02-13 14:07:02 -08:00
pki_issue_intermediate.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
pki_issue_intermediate_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
pki_list_intermediate.go add gosimport to make fmt and run it (#25383) 2024-02-13 14:07:02 -08:00
pki_list_intermediate_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
pki_reissue_intermediate.go VAULT-27384 Fix faulty assignments and unchecked errors (#27810) 2024-07-22 16:53:02 -04:00
pki_reissue_intermediate_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
pki_verify_sign.go add gosimport to make fmt and run it (#25383) 2024-02-13 14:07:02 -08:00
pki_verify_sign_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
plugin.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
plugin_deregister.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
plugin_deregister_test.go Refactor plugin catalog and plugin runtime catalog into their own package (#24403) 2023-12-07 12:36:17 +00:00
plugin_info.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
plugin_info_test.go Refactor plugin catalog and plugin runtime catalog into their own package (#24403) 2023-12-07 12:36:17 +00:00
plugin_list.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
plugin_list_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
plugin_register.go Vault 34905 support register ce plugin with extracted artifact (#30673) 2025-05-22 08:39:47 -07:00
plugin_register_test.go New root namespace plugin reload API sys/plugins/reload/:type/:name (#24878) 2024-01-17 15:46:27 +00:00
plugin_reload.go New root namespace plugin reload API sys/plugins/reload/:type/:name (#24878) 2024-01-17 15:46:27 +00:00
plugin_reload_status.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
plugin_reload_test.go New root namespace plugin reload API sys/plugins/reload/:type/:name (#24878) 2024-01-17 15:46:27 +00:00
plugin_runtime.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
plugin_runtime_deregister.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
plugin_runtime_deregister_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
plugin_runtime_info.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
plugin_runtime_info_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
plugin_runtime_list.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
plugin_runtime_list_test.go List plugin runtimes API always includes a list even if empty (#24864) 2024-01-16 16:36:07 +00:00
plugin_runtime_register.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
plugin_runtime_register_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
plugin_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
policy.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
policy_delete.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
policy_delete_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
policy_fmt.go VAULT-32657 deprecate duplicate attributes in HCL configs and policies (#30386) 2025-05-23 16:02:07 -03:00
policy_fmt_test.go VAULT-32657 deprecate duplicate attributes in HCL configs and policies (#30386) 2025-05-23 16:02:07 -03:00
policy_list.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
policy_list_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
policy_read.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
policy_read_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
policy_write.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
policy_write_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
print.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
print_token.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
proxy.go VAULT-32657 deprecate duplicate attributes in HCL configs and policies (#30386) 2025-05-23 16:02:07 -03:00
proxy_test.go VAULT-32657 deprecate duplicate attributes in HCL configs and policies (#30386) 2025-05-23 16:02:07 -03:00
read.go VAULT-36198: Add API/CLI support for reading, listing, recovering from a snapshot (#30701) 2025-05-21 15:10:20 +02:00
read_test.go VAULT-36198: Add API/CLI support for reading, listing, recovering from a snapshot (#30701) 2025-05-21 15:10:20 +02:00
rotate.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
rotate_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
secrets.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
secrets_disable.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
secrets_disable_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
secrets_enable.go Support trimming trailing slashes via a mount tuneable to support CMPv2 (#28752) 2024-10-24 10:47:17 -05:00
secrets_enable_test.go Support trimming trailing slashes via a mount tuneable to support CMPv2 (#28752) 2024-10-24 10:47:17 -05:00
secrets_list.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
secrets_list_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
secrets_move.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
secrets_move_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
secrets_tune.go Support trimming trailing slashes via a mount tuneable to support CMPv2 (#28752) 2024-10-24 10:47:17 -05:00
secrets_tune_test.go Support trimming trailing slashes via a mount tuneable to support CMPv2 (#28752) 2024-10-24 10:47:17 -05:00
server.go VAULT-32657 deprecate duplicate attributes in HCL configs and policies (#30386) 2025-05-23 16:02:07 -03:00
server_noprofile.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
server_profile.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
server_test.go Remove FIPS build tag from command/server_test.go (#30601) 2025-05-13 15:57:43 -04:00
server_util.go Add CE plumbing for CensusManager reload (#27664) 2024-07-03 13:31:56 -04:00
ssh.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
ssh_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
status.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
status_test.go VAULT-31751, VAULT-31752: removed_from_cluster in vault status (#28938) 2024-11-19 11:13:10 +01:00
token.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
token_capabilities.go Command: token capabilities using accessor (#24479) 2023-12-13 11:15:21 -05:00
token_capabilities_test.go Command: token capabilities using accessor (#24479) 2023-12-13 11:15:21 -05:00
token_create.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
token_create_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
token_lookup.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
token_lookup_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
token_renew.go CLI: add an option for renew command fail on non-fullfillable request to allow command chaining (#29060) 2025-02-04 16:04:26 -03:00
token_renew_test.go CLI: add an option for renew command fail on non-fullfillable request to allow command chaining (#29060) 2025-02-04 16:04:26 -03:00
token_revoke.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
token_revoke_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
transform.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
transform_import_key.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
transform_import_key_version.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
transit.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
transit_import_key.go Easy go-jose updates (the codeless[ish] ones) (#28140) 2024-08-21 14:25:07 -04:00
transit_import_key_test.go Use go-secure-stdlib's RSA key generator backed by a DRBG (#29020) 2024-12-05 15:39:16 -06:00
transit_import_key_version.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
unwrap.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
unwrap_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
util.go VAULT-32657 deprecate duplicate attributes in HCL configs and policies (#30386) 2025-05-23 16:02:07 -03:00
version.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
version_history.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
version_history_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
version_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
write.go Core: CLI Doc improvements to example read / write. (#19064) 2024-08-09 11:48:21 -04:00
write_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00