https://github.com/x-ca/go-grpc-api
tls grpc api for x-ca for k8s xca-operator
https://github.com/x-ca/go-grpc-api
grpc protobuf3 x-ca
Last synced: 3 months ago
JSON representation
tls grpc api for x-ca for k8s xca-operator
- Host: GitHub
- URL: https://github.com/x-ca/go-grpc-api
- Owner: x-ca
- License: apache-2.0
- Created: 2022-03-05T08:32:07.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-13T03:37:05.000Z (over 3 years ago)
- Last Synced: 2024-11-27T10:35:56.785Z (over 1 year ago)
- Topics: grpc, protobuf3, x-ca
- Language: Go
- Homepage: https://github.com/kbcx/xca-operator
- Size: 24.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# X-CA go-grpc-api
[](https://github.com/x-ca/go-grpc-api/actions/workflows/workflow.yaml)
[](https://pkg.go.dev/github.com/x-ca/go-grpc-api)
[](https://goreportcard.com/report/github.com/x-ca/go-grpc-api)
## Usage
```
$ go run main.go -h
-help
show help message
-tls-crt string
tls crt file path
-tls-key string
tls key file path
-tls-password string
tls key password
```
- [create ca file](https://github.com/x-ca/go-ca), start gRPC api
```
go run main.go \
-tls-crt ./x-ca/ca/tls-ca.crt \
-tls-key ./x-ca/ca/tls-ca/private/tls-ca.key
```