Here in the first line of this psalm, God reveals Himself in two ways. (1) The first one is L-o-r-d. Adonai in Hebrew. It is roughly equivalent to the English word, owner. So He introduces Himself, in this psalm, as the owner of the heaven and the earth. And then (2) we have L-O-R-D. This is the very famous Yahweh - the YHWH. The one that is translated there in Exodus as I AM that I am. It is interesting to put the emphasis in different places. I am THAT I am. (Just to play with that, once in a while, is kind of interesting.) The I AM - YHWH. He is the one who has made a covenant - an agreement - with man. He is the Eternal One.
YHWH is connected to other nouns, in order to further describe His character to you and me. We have Yhwh-nissi, which means God, my banner. That appears in Exodus 17:15. It is intended to give encouragement. And it will appear in places where God is teaching that we need to be encouraged, by the context of what He is teaching us in that area.
We have Yhwh-tsidkenu, which means God, our righteousness or, our deliverer. It appears in Jeremiah 23:6. Yhwh-roi, God, our Shepherd - the one who guides. That appears in Psalm 23:1. There is Yhwh-mekaddishkem, God, who sanctifies you - the one who anoints. This appears in the Sabbath Covenant, in Exodus 31:13. Yhwh-jireh, God, our provider. It literally means, the one who sees - meaning that He is there in Genesis 22:14. Yhwh-ropheka, God, our healer, in Exodus 15:26. And Yhwh-shalom, God, our peace. He used that when He was with Gideon, in Judges 6:24.