rushtehrani
42f0ff173f
move secret and namespace
2020-02-19 14:41:40 -08:00
Aleksandr Melnikov
bccc813ed2
Re-factored DeleteSecretKey to prevent overlap with DeleteSecret.
2020-02-19 09:02:19 -08:00
Aleksandr Melnikov
f3a7ed1042
Adding the rest of DeleteSecretKey re-factor.
2020-02-06 15:39:54 -08:00
Aleksandr Melnikov
a516159f0a
Re-factored AddSecretKeyValue.
2020-02-06 15:35:17 -08:00
Aleksandr Melnikov
f99260fa93
Refactored DeleteSecret.
2020-02-06 14:37:43 -08:00
Aleksandr Melnikov
525b83b77b
Refactoring GetSecret.
2020-02-06 14:30:44 -08:00
Aleksandr Melnikov
c58647130c
Fixing error that's reported.
2020-02-06 12:25:17 -08:00
Aleksandr Melnikov
42efa04250
Refactoring SecretExists from secret_server.go side.
...
- Removed extraneous function.
2020-02-06 12:24:12 -08:00
Aleksandr Melnikov
dde01fc900
Passing by reference.
2020-02-06 12:13:51 -08:00
Aleksandr Melnikov
f22a60c5ab
Refactoring CreateSecret per recent feedback.
2020-02-06 12:06:49 -08:00
Aleksandr Melnikov
e9fde54f49
Re-factored function to simplify the argument parameters.
...
- More consistent to use model.Secret
2020-02-06 12:00:50 -08:00
Aleksandr Melnikov
0d1f7badb1
Refactored UpdateSecretKeyValue from the server side.
2020-02-06 11:08:34 -08:00
rushtehrani
36406b4fc4
clean up ListSecrets
2020-02-06 10:17:31 -08:00
Aleksandr Melnikov
4baf3b9309
Refactoring ListSecrets.
2020-02-06 09:56:23 -08:00
rushtehrani
078372533b
minor changes to req/res proto
2020-02-05 19:46:54 -08:00
Aleksandr Melnikov
a4f9a65f07
Refactored the HTTP requests and proto messages to look cleaner and
...
reduce duplicated fields.
- Secret message is re-used a lot more
Updated the secret_server code to support the new proto message data
being passed in.
2020-02-05 17:19:22 -08:00
Aleksandr Melnikov
ebd1e57d49
Refactoring code to use new apiSecret()
2020-02-05 15:27:01 -08:00
rushtehrani
d471738d60
GetSecret refactor
2020-02-05 15:18:19 -08:00
Aleksandr Melnikov
18a96bed35
Changing []model.Secret to []*model.Secret
...
- Updating related code.
2020-02-05 14:48:28 -08:00
Aleksandr Melnikov
40409b8027
Cleaning up some rebase artifacts.
2020-02-05 13:18:30 -08:00
Aleksandr Melnikov
aa5c12b275
Re-factored secretName to name.
2020-02-05 13:14:50 -08:00
Aleksandr Melnikov
27f1a54968
Renaming GetSecrets to ListSecrets.
2020-02-05 13:14:40 -08:00
Aleksandr Melnikov
f2cde31a27
Refactored apiv1.secret to use model.secret
2020-02-05 13:14:26 -08:00
Aleksandr Melnikov
6d0c6e96b7
Added API Calls:
...
- AddSecretKeyValue
This allows you to add a key value to a secret.
Example: You can add "typeOfData" key, value "bytes" to secret "default",
namespace "default".
- UpdateSecretKeyValue
You can update "typeOfData" key with value "bits".
2020-02-05 13:13:42 -08:00
Aleksandr Melnikov
9883b24b7f
Added DeleteSecretKey api call.
...
- This allows the deletion of a specific key from a secret.
2020-02-05 13:13:02 -08:00
Aleksandr Melnikov
812c9a174d
Adding DeleteSecret api call.
2020-02-05 13:12:23 -08:00
Aleksandr Melnikov
168c73ee37
Added GetSecrets api call.
...
- Returns a collection of Secret type.
2020-02-05 13:11:40 -08:00
Aleksandr Melnikov
bf929e2f45
Added GetSecret api call.
...
- Returns a secrets data and name.
2020-02-05 13:10:33 -08:00
Aleksandr Melnikov
086566ce14
Added API Path to check if a secret exists in a given namespace.
2020-02-05 13:08:58 -08:00
rushtehrani
fc8ce2eb08
move logic to lower in the stack
2020-01-27 19:42:53 -08:00
Andrey Melnikov
6fa397cdbd
Added logic to get a secret and worked on adding createdAt timestamps to models.
2020-01-27 10:05:23 -08:00
rushtehrani
32e8b51251
support kubernetes secret creation
2020-01-07 16:38:52 -08:00