public class ScpNeoSecretStoreFacade extends AbstractSecretStoreFacade
SecretStoreFacade
for SAP Cloud Platform Neo.Constructor and Description |
---|
ScpNeoSecretStoreFacade() |
Modifier and Type | Method and Description |
---|---|
Optional<KeyStore> |
getKeyStoreIfPresent(String name,
SecretStore password)
Retrieves a
KeyStore by its name, if present. |
Class<? extends SecretStore> |
getSecretStoreClass()
Returns the platform-specific implementation class of
SecretStore . |
Optional<SecretStore> |
getSecretStoreIfPresent(String name)
Retrieves a
SecretStore by its name, if present. |
getKeyStore, getSecretStore
@Nonnull public Class<? extends SecretStore> getSecretStoreClass()
SecretStore
. For internal use only.@Nonnull public Optional<SecretStore> getSecretStoreIfPresent(String name) throws SecretStoreAccessException
SecretStore
by its name, if present.name
- The name identifying a SecretStore
.Optional
of the SecretStore
for the given name.SecretStoreAccessException
- If there is an issue while accessing the SecretStore
.@Nonnull public Optional<KeyStore> getKeyStoreIfPresent(String name, SecretStore password) throws KeyStoreAccessException
KeyStore
by its name, if present.name
- The name identifying a KeyStore
.password
- The password to unlock the KeyStore
.KeyStore
for the given name.KeyStoreAccessException
- If there is an issue while accessing the KeyStore
.Copyright © 2018 SAP SE. All rights reserved.