Skip to content

Commit fb305de

Browse files
updated back end to store keyfactor cert ids, retrieve CA
1 parent c641689 commit fb305de

File tree

20 files changed

+4253
-571
lines changed

20 files changed

+4253
-571
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.vs/*
2+
vaultSecretsEngine-update.zip
3+
vault/plugins/*

Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ GOARCH = amd64
22

33
UNAME = $(shell uname -s)
44

5+
OS = linux
6+
57
ifndef OS
68
ifeq ($(UNAME), Linux)
79
OS = linux
@@ -15,16 +17,16 @@ endif
1517
all: fmt build start
1618

1719
build:
18-
GOOS=$(OS) GOARCH="$(GOARCH)" go build -o vault/plugins/mock cmd/mock/main.go
20+
GOOS=$(OS) GOARCH="$(GOARCH)" go build -o vault/plugins/keyfactor cmd/keyfactor/main.go
1921

2022
start:
21-
vault server -dev -dev-root-token-id=root -dev-plugin-dir=./vault/plugins
23+
vault server -dev -dev-root-token-id=root -dev-plugin-dir=/vault/plugins
2224

2325
enable:
24-
vault secrets enable mock
26+
vault secrets enable keyfactor
2527

2628
clean:
27-
rm -f ./vault/plugins/mock
29+
rm -f ./vault/plugins/keyfactor
2830

2931
fmt:
3032
go fmt $$(go list ./...)

0 commit comments

Comments
 (0)