diff options
-rw-r--r-- | secrets/client.go | 8 |
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 | ||
27 | type Credential struct { | 27 | type 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 | ||
32 | type ApiKey struct { | 32 | type ApiKey struct { |
33 | Key string `json:"key"` | 33 | Key string `json:"key" mapstructure:"key"` |
34 | } | 34 | } |
35 | 35 | ||
36 | type RSAKey struct { | 36 | type RSAKey struct { |
37 | Key string `json:"key"` | 37 | Key string `json:"key" mapstructure:"key"` |
38 | } | 38 | } |
39 | 39 | ||
40 | func (k *RSAKey) RSAPrivateKey() (*rsa.PrivateKey, error) { | 40 | func (k *RSAKey) RSAPrivateKey() (*rsa.PrivateKey, error) { |