public class ScpCfSecretStoreFacade extends Object implements SecretStoreFacade
SecretStoreFacade
for SAP Cloud Platform Cloud Foundry.
Note: This functionality is not yet supported.
Constructor and Description |
---|
ScpCfSecretStoreFacade() |
Modifier and Type | Method and Description |
---|---|
io.vavr.control.Try<KeyStore> |
tryGetKeyStore(String name,
SecretStore password)
Retrieves a
KeyStore by its name. |
io.vavr.control.Try<SecretStore> |
tryGetSecretStore(String name)
Retrieves a
SecretStore by its name. |
@Nonnull public io.vavr.control.Try<SecretStore> tryGetSecretStore(@Nonnull String name)
SecretStore
by its name.tryGetSecretStore
in interface SecretStoreFacade
name
- The name identifying a SecretStore
.Try
of the SecretStore
for the given name.@Nonnull public io.vavr.control.Try<KeyStore> tryGetKeyStore(@Nonnull String name, @Nonnull SecretStore password)
KeyStore
by its name.tryGetKeyStore
in interface SecretStoreFacade
name
- The name identifying a KeyStore
.password
- The password to unlock the KeyStore
.KeyStore
for the given name.Copyright © 2019 SAP SE. All rights reserved.