Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Capability to retrieve Custom KeyStores #4025

Merged
merged 21 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,24 @@ public static final class SecurityManagement {
public static final String SERVER_INTERNAL_PRIVATE_KEY_PASSWORD = "Security.InternalKeyStore.KeyPassword";
public static final String SERVER_INTERNAL_KEYSTORE_TYPE = "Security.InternalKeyStore.Type";

// Custom KeyStore related constants.
public static final class CustomKeyStore {

public static final String CUSTOM_KEYSTORE_PREFIX = "CUSTOM/";

public static final String ELEM_SECURITY = "Security";
public static final String ELEM_CUSTOM_KEYSTORES = "CustomKeyStores";

public static final String PROP_LOCATION = "Location";
public static final String PROP_TYPE = "Type";
public static final String PROP_PASSWORD = "Password";
public static final String PROP_KEY_ALIAS = "KeyAlias";
public static final String PROP_KEY_PASSWORD = "KeyPassword";
}

// carbon.home location placeholder.
public static final String CARBON_HOME_PLACEHOLDER = "${carbon.home}";

//generated pub. key - multitenancy scenario
public static final String TENANT_PUBKEY_RESOURCE = RegistryResources.ROOT +
"security/pub-key";
Expand Down
Loading