Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocikms: Oracle Cloud KMS support #1226

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

deblasis
Copy link

@deblasis deblasis commented Jun 23, 2023

Hi there, I found myself needing this so I thought it was a good opportunity to contribute a little.

Happy to make the necessary changes, I tried to comply with style as much as possible.

Fixes #981

cc: @colemickens, @davidpinhas, @b-dean

Basic Demo

sops_oci_kms_demo.mp4

@@ -36,7 +36,7 @@ generate: keyservice/keyservice.pb.go
$(GO) generate

%.pb.go: %.proto
protoc --go_out=plugins=grpc:. $<
protoc --go_out=. --go-grpc_out=require_unimplemented_servers=false:. $<
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be the current way of generating files with protoc since 1.20 I believe.

The generated files are also split now as you can see below.

The flag require_unimplemented_servers=false is necessary to preserve the previous functionality.

Please note that I am using:
image

I have also tried

protoc-gen-go v1.23.0
protoc        v3.13.0

but I am still getting errors with the plugin settings.

I don't think this is an issue but just flagging for the reviewer

@@ -1,5 +1,7 @@
syntax = "proto3";

option go_package = "/keyservice";
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this ad best practice and because I was getting errors because of this as well when doing make generate

@hiddeco hiddeco added this to the v3.9.0 milestone Jul 4, 2023
@hiddeco hiddeco changed the base branch from master to main July 6, 2023 20:58
@felixfontein felixfontein modified the milestones: v3.9.0, 3.10.0 Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for Oracle Cloud Vault / KMS
3 participants