title: How to get Keycloak client_id and client_secret from server to client
body: <p>Actually I have a server (customer server) from where I would like to fetch some parameters and its values for NE configuration through REST API.</p>
  
  <p>To achieve the above task I need to follow the below steps:</p>
  
  <p>1)  Creating a Keycloak client id and generating a client secret for the respective client id created. (One time step can be done manually in Keycloak admin GUI)
  2)  Using the  client id and client secret - generating an access token.
  3)  Using access token and retrieving the expected parameters </p>
  
  <p>Here I have found the methods and API URLs to get the expected parameters and its values (Step 3 is done), But to make the initial connection (Step 2) between my server (Client-From where I am making the REST calls) and customer server (Server-Which responds to my API calls) I need to find some method to exchange the client id and client secret from source server to client server.</p>
  
  <p>My development environment has some limitation that I cannot directly use the client id and client secret hard coded in it.</p>
  
  <p>So, My doubts are</p>
  
  <p>1) In general will the customer shares the client id and client secret to developers to get connected to the authentication server ? 
  2) Will the client id and client secret gets stored anywhere in the server (some default location) so that i can login to the server and get these data directly to generate the access token?
  3) Is there another way to get the client id and client secret from source server.</p>