Create or Replace Repository

Creates a new repository or replaces an existing one with the provided configuration.