public static KeyValueStorage parseKsmConfig(String value) throws GuacamoleException {

        // Parse base64 value as KSM config storage
        try {
            return new InMemoryStorage(value);
        }
        catch (IllegalArgumentException e) {
            throw new GuacamoleServerException("Invalid base64 configuration "
                    + "for Keeper Secrets Manager.", e);
        }

    }
Given a base64-encoded JSON KSM configuration, parse and return a
KeyValueStorage object.

@param value
    The base64-encoded JSON KSM configuration to parse.

@return
    The KeyValueStorage that is a result of the parsing operation

@throws GuacamoleException
    If the provided value is not valid base-64 encoded JSON KSM configuration.
extensions/guacamole-vault/modules/guacamole-vault-ksm/src/main/java/org/apache/guacamole/vault/ksm/conf/KsmConfig.java