This oil filler plug with Allen tool looks absolutely great because of its finish and has a good function as a locking plug.
Use a size 5 Allen key (usually found in your BMW toolkit) in order to fit and remove it.
See Allen tools
For spare parts see filler pipe (part number 7659578) and o-ring (part number 1340901).
Also referred to as oil filler cap.