diff --git a/encryption/encryption_keys.go b/encryption/encryption_keys.go index 5d94a0f8ebf5d3aec3ea2cbca5b3de67ec25935d..3ae6f07171e966c3472efdf424488dcec5d559c4 100644 --- a/encryption/encryption_keys.go +++ b/encryption/encryption_keys.go @@ -16,6 +16,7 @@ type EncryptionKeys struct { JWTEncryptionKey string `json:"jwt_encryption_key"` BobAPIAuthEncryptionKey string `json:"bob_api_auth_encryption_key"` GenericEncryptionKey string `json:"generic_encryption_key"` + BobGoEncryptionKey string `json:"bobgo_encryption_key"` } func GetEncryptionKeys(secretID string, isDebug bool) (EncryptionKeys, error) { @@ -54,3 +55,8 @@ func GetGenericEncryptionKey(secretID string, isDebug bool) (string, error) { encryptionKeys, err := GetEncryptionKeys(secretID, isDebug) return encryptionKeys.GenericEncryptionKey, err } + +func GetBobGoEncryptionKey(secretID string, isDebug bool) (string, error) { + encryptionKeys, err := GetEncryptionKeys(secretID, isDebug) + return encryptionKeys.BobGoEncryptionKey, err +}