ADHOC - Expand secrets manager to support create and delete
1 unresolved thread
1 unresolved thread
Compare changes
+ 106
− 46
@@ -2,6 +2,7 @@ package secrets_manager
@@ -35,6 +36,8 @@ var (
@@ -55,20 +58,25 @@ func GetS3UploadCredentials(secretID string, isDebug bool) (*credentials2.Creden
@@ -76,53 +84,53 @@ func GetSecret(secretID string, isDebug bool) (string, string) {
@@ -135,7 +143,7 @@ func GetSecret(secretID string, isDebug bool) (string, string) {
@@ -143,3 +151,55 @@ func GetSecret(secretID string, isDebug bool) (string, string) {
Does this immediately delete the secret or will it only be deleted after 7 days?
forceWithoutRecovery
:true
= immediate deletion, without the option to recoverforceWithoutRecovery
:false
...Do you think we should rather change this to accept the
RecoveryWindowInDays
?https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_DeleteSecret.html