This hymn has been attributed to R' Shlomo ibn Gabirol who lived in Spain during the eleventh century. While praising God's omnipotence and providence, it clarifies the meaning of the name Adonoy so that before proceeding to pray, each worshiper understands the significance of the God he is addressing.
אֲדוֹן עוֹלָם אֲשֶׁר מָלַךְ, בְּטֶֽרֶם כָּל יְצִיר נִבְרָא: לְעֵת נַעֲשָׂה בְחֶפְצוֹ כֹּל, אֲזַי מֶֽלֶךְ שְׁמוֹ נִקְרָא: וְאַחֲרֵי כִּכְלוֹת הַכֹּל, לְבַדּוֹ יִמְלֹךְ נוֹרָא: וְהוּא הָיָה וְהוּא הֹוֶה, וְהוּא יִהְיֶה בְּתִפְאָרָה: וְהוּא אֶחָד וְאֵין שֵׁנִי, לְהַמְשִׁיל לוֹ לְהַחְבִּֽירָה: בְּלִי רֵאשִׁית בְּלִי תַכְלִית, וְלוֹ הָעֹז וְהַמִּשְׂרָה: וְהוּא אֵלִי וְחַי גּוֹאֲלִי, וְצוּר חֶבְלִי בְּעֵת צָרָה: וְהוּא נִסִּי וּמָנוֹס לִי, מְנָת כּוֹסִי בְּיוֹם אֶקְרָא: בְּיָדוֹ אַפְקִיד רוּחִי, בְּעֵת אִישַׁן וְאָעִֽירָה: וְעִם רוּחִי גְּוִיָּתִי, יְהֹוָה לִי וְלֹא אִירָא: Master of the Universe Who reigned before any creature was created. At the time when all was made by His will, then was His Name proclaimed King. And after all things shall cease to be, the Awesome One will reign alone. He was, He is, and He shall be in glory. He is One, and there is no second to compare to Him, to associate [with Him]. Without beginning, without end, power and dominion are His. He is my God and my ever-living Redeemer, the Rock of my destiny in times of distress. He is my flag and my refuge; He is the portion of my cup on the day I call. Into His hand I entrust my spirit [both] when I sleep and when I awaken. And with my spirit my body [too], Adonoy is with me, I shall not fear.