Usage: vault policy write [options] NAME PATH
--Hi dear vault community,I got an issue setting up the hashicorp vault.My config.hcl looks like:storage "file" {
path = "/<some_path>/hashivault/fault"
}
listener "tcp" {
address = "127.0.0.1:8200"
tls_disable = 1
}
ui = trueI've exported the env var VAULT_ADDR='127.0.0.1:8200' in my shell_profile as well.When I do the following:$ vault policy write admin0 admin-policy.aclError uploading policy: Put https://127.0.0.1:8200/v1/sys/policies/acl/admin0: http: server gave HTTP response to HTTPS client.doing:I got the error:> Too many arguments (expected 2, got 3)I wonder why the CLI client is still using https instead of http and why the HTTP Opt isn't recognized (or recognized as additional argument)Can someone help with this ?
Thanks & best regards
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/88ac38e8-7457-49e4-b5ee-392aac250592%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vault...@googlegroups.com.
vault policy write -address=http://127.0.0.1:8200 admin0 admin-policy.acl
Success! Uploaded policy: admin0
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/b62c0e68-1280-4d73-afb1-ceded6a42a32%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/b62c0e68-1280-4d73-afb1-ceded6a42a32%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/b62c0e68-1280-4d73-afb1-ceded6a42a32%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/c5a00c72-4864-4111-9866-6a2415c81cee%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/c5a00c72-4864-4111-9866-6a2415c81cee%40googlegroups.com.