public final class EnvironmentVariableKeyProvider extends DataUriKeyProvider
Note that Environment variables are case-insensitive in some systems (Windows). However, ASAP key identifiers are case-sensitive. That means that the same environment variable will provide the private key for "keyidentifier", "KEYIDENTIFIER", "keyIdentifier" and so on.
System.getenv(String)| Modifier and Type | Method and Description |
|---|---|
static EnvironmentVariableKeyProvider |
fromUri(URI uri,
DataUriKeyReader keyReader)
Instantiates the class by parsing a URL with the following syntax:
env:///[BASE_ENV_VARIABLE_NAME]. |
getKey, toStringpublic static EnvironmentVariableKeyProvider fromUri(URI uri, DataUriKeyReader keyReader)
env:///[BASE_ENV_VARIABLE_NAME].uri - URI with the syntax described abovekeyReader - reader of PEM documentsCopyright © 2017 Atlassian. All rights reserved.