Usage of deploy tokens

Is there any way where I can use deploy tokens user name and password values in my ci/cd pipeline
Where I am trying to clone another repository I want deploy token name and password to clone the specific repository is there any way where I can get those values?

.gitllab-ci.yaml file:

Stage:

You get Deploy token username and password when you create deploy token on the repository you want to clone.

You can also use Job token. Job token inherits permissions of the user triggering the pipeline. If your users have access to the repository you need to clone you can use git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.example.com/<namespace>/<project>
More details on Job token is here.