code: public static VaultKvAccessStrategy forVersion(RestOperations rest, String baseUrl,
  			int version) {
  
  		switch (version) {
  		case 1:
  			return new V1VaultKvAccessStrategy(baseUrl, rest);
  		case 2:
  			return new V2VaultKvAccessStrategy(baseUrl, rest);
  		default:
  			throw new IllegalArgumentException(
  					"No support for given Vault k/v backend version " + version);
  		}
  	}
docs: Create a new {@link VaultKvAccessStrategy} given {@link RestOperations},
  {@code baseUrl}, and {@code version}.
  @param rest must not be {@literal null}.
  @param baseUrl the Vault base URL.
  @param version version of the Vault key-value backend.
  @return the access strategy.