Skip to main content

Create an SDK Key

After you’ve created your environment, you need to create an SDK key for it. You need to use this SDK key in your application’s code to authenticate your connection to the Harness Feature Flag client. 

note

You can view and copy the SDK key only immediately after it is created. For security, after you leave the page, the key is redacted and you can’t view it. Make sure you make a copy of the key to use in your application.

Create an SDK Key

  1. In the environment you created, in Settings, click Create SDK Key.

  2. In Create SDK Key, in Name, enter a name for your SDK key.

  3. In Key Type, select either Client or Server depending on the type of SDK you want to use. For more information about the SDK types Harness supports, go to Chose a Client-side or Server-side SDK. If your organization needs to rotate the keys, you can choose to add more than one key for the same environment.

  4. Click Create.

  5. Copy and store your Secret.

    note

    You can only view and copy the SDK key immediately after it is created. For security, after you leave the page, the key is redacted and you can’t view it. Make sure you make a copy of the key to use in your application.

Next step

Now you can Create a Feature Flag.