mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-641: Retrieve secrets from Azure Key Vault.
This commit is contained in:
@@ -83,8 +83,9 @@ public class AzureKeyVaultSecretService extends CachedVaultSecretService {
|
||||
KeyVaultClient client = new KeyVaultClient(credentialProvider.get());
|
||||
SecretBundle secret = client.getSecret(url, name);
|
||||
|
||||
// FIXME: STUB
|
||||
return new CachedSecret(null, ttl);
|
||||
// Cache retrieved value
|
||||
String value = (secret != null) ? secret.value() : null;
|
||||
return new CachedSecret(value, ttl);
|
||||
|
||||
}
|
||||
catch (AzureKeyVaultAuthenticationException e) {
|
||||
|
Reference in New Issue
Block a user