aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--secrets/client.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/secrets/client.go b/secrets/client.go
index 7a1f51b..92c46ef 100644
--- a/secrets/client.go
+++ b/secrets/client.go
@@ -25,16 +25,16 @@ type Renewal struct {
25} 25}
26 26
27type Credential struct { 27type Credential struct {
28 Username string `json:"username"` 28 Username string `json:"username" mapstructure:"username"`
29 Password string `json:"password"` 29 Password string `json:"password" mapstructure:"password"`
30} 30}
31 31
32type ApiKey struct { 32type ApiKey struct {
33 Key string `json:"key"` 33 Key string `json:"key" mapstructure:"key"`
34} 34}
35 35
36type RSAKey struct { 36type RSAKey struct {
37 Key string `json:"key"` 37 Key string `json:"key" mapstructure:"key"`
38} 38}
39 39
40func (k *RSAKey) RSAPrivateKey() (*rsa.PrivateKey, error) { 40func (k *RSAKey) RSAPrivateKey() (*rsa.PrivateKey, error) {