package
0.2.2
Repository: https://github.com/gobins/secrets-api.git
Documentation: pkg.go.dev

# Functions

BulkCreateSecret handles creating a list of multiple secrets and generating response.
BulkDeleteSecret provides a hook to the backend to clear out data.
BulkRewrapSecret rewraps multiple secrets with a single given public key.
CreateSecret POST handler for route /secrets to create a new secret.
DeleteSecret provides a hook to the backend to clear out data.
HandleError is a wrapper that handles response codes and error messages.
ListSecrets to make schemas work better.
NewRouter creates the router for the application and wires up Rancher API spec schema.
RewrapSecret rewraps a single secret witha usersupplied public key.
StartServer creates and initializes the server api.
URLEncoded encodes the urls so that spaces are allowed in resource names.