You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This usually means that the plugin is either invalid or simply
needs to be recompiled to support the latest protocol.
Do we missed something ?
[vault]# make
==> Checking that code complies with gofmt requirements...
go generate
==> Removing old directory...
==> Building...
Number of parallel builds: 1
Hi
We built the plugin (for vault v1.2.2) and are trying to enable it but we got an error.
[vault]# vault -version
Vault v1.2.2
[vault]# export SHA256=$(sha256sum "/var/lib/vault/plugins/vault-plugin-auth-oci" | cut -d' ' -f1)
[vault]# vault write sys/plugins/catalog/auth/vault-plugin-auth-oci sha_256="${SHA256}" command="vault-plugin-auth-oci"
Success! Data written to: sys/plugins/catalog/auth/vault-plugin-auth-oci
[vault]# vault auth enable -path="oci" -plugin-name="vault-plugin-auth-oci" plugin
Error enabling vault-plugin-auth-oci auth: Error making API request.
URL: POST http://192.168.0.102:8200/v1/sys/auth/oci
Code: 400. Errors:
This usually means that the plugin is either invalid or simply
needs to be recompiled to support the latest protocol.
Do we missed something ?
[vault]# make
==> Checking that code complies with gofmt requirements...
go generate
==> Removing old directory...
==> Building...
Number of parallel builds: 1
--> darwin/amd64: github.com/hashicorp/vault-plugin-auth-oci/cmd/vault-plugin-auth-oci
--> windows/amd64: github.com/hashicorp/vault-plugin-auth-oci/cmd/vault-plugin-auth-oci
--> openbsd/amd64: github.com/hashicorp/vault-plugin-auth-oci/cmd/vault-plugin-auth-oci
--> netbsd/arm: github.com/hashicorp/vault-plugin-auth-oci/cmd/vault-plugin-auth-oci
--> linux/386: github.com/hashicorp/vault-plugin-auth-oci/cmd/vault-plugin-auth-oci
--> darwin/386: github.com/hashicorp/vault-plugin-auth-oci/cmd/vault-plugin-auth-oci
--> netbsd/386: github.com/hashicorp/vault-plugin-auth-oci/cmd/vault-plugin-auth-oci
--> netbsd/amd64: github.com/hashicorp/vault-plugin-auth-oci/cmd/vault-plugin-auth-oci
--> windows/386: github.com/hashicorp/vault-plugin-auth-oci/cmd/vault-plugin-auth-oci
--> freebsd/amd64: github.com/hashicorp/vault-plugin-auth-oci/cmd/vault-plugin-auth-oci
--> openbsd/386: github.com/hashicorp/vault-plugin-auth-oci/cmd/vault-plugin-auth-oci
--> solaris/amd64: github.com/hashicorp/vault-plugin-auth-oci/cmd/vault-plugin-auth-oci
--> freebsd/386: github.com/hashicorp/vault-plugin-auth-oci/cmd/vault-plugin-auth-oci
--> freebsd/arm: github.com/hashicorp/vault-plugin-auth-oci/cmd/vault-plugin-auth-oci
--> linux/amd64: github.com/hashicorp/vault-plugin-auth-oci/cmd/vault-plugin-auth-oci
--> linux/arm: github.com/hashicorp/vault-plugin-auth-oci/cmd/vault-plugin-auth-oci
--> linux/arm64: github.com/hashicorp/vault-plugin-auth-oci/cmd/vault-plugin-auth-oci
==> Packaging...
--> darwin_amd64
adding: vault-plugin-auth-oci (deflated 53%)
--> windows_amd64
adding: vault-plugin-auth-oci.exe (deflated 53%)
--> openbsd_amd64
adding: vault-plugin-auth-oci (deflated 53%)
--> netbsd_arm
adding: vault-plugin-auth-oci (deflated 50%)
--> linux_386
adding: vault-plugin-auth-oci (deflated 48%)
--> darwin_386
adding: vault-plugin-auth-oci (deflated 48%)
--> netbsd_386
adding: vault-plugin-auth-oci (deflated 48%)
--> netbsd_amd64
adding: vault-plugin-auth-oci (deflated 53%)
--> windows_386
adding: vault-plugin-auth-oci.exe (deflated 49%)
--> freebsd_amd64
adding: vault-plugin-auth-oci (deflated 53%)
--> openbsd_386
adding: vault-plugin-auth-oci (deflated 48%)
--> solaris_amd64
adding: vault-plugin-auth-oci (deflated 53%)
--> freebsd_386
adding: vault-plugin-auth-oci (deflated 48%)
--> freebsd_arm
adding: vault-plugin-auth-oci (deflated 50%)
--> linux_amd64
adding: vault-plugin-auth-oci (deflated 53%)
--> linux_arm
adding: vault-plugin-auth-oci (deflated 50%)
--> linux_arm64
adding: vault-plugin-auth-oci (deflated 54%)
==> Results:
total 16M
-rwxr-xr-x. 1 root root 16M Sep 13 15:35 vault-plugin-auth-oci
The text was updated successfully, but these errors were encountered: