# Creating an project and identity in web ui.

Go the the dashboard and create a project and add some testing secret. The project should be on secret management.

Then follow the steps

1. Creating an identity

To create an identity, head to your Organization Settings &gt; Access Control &gt; Identities and press **Create identity**.

When creating an identity, you specify an organization level [role](https://infisical.com/docs/documentation/platform/role-based-access-controls) for it to assume; you can configure roles in Organization Settings &gt; Access Control &gt; Organization Roles.

[![image.png](https://wiki.exceltoquiz.com/uploads/images/gallery/2025-11/scaled-1680-/V8i8MTLNPrLdWDev-image.png)](https://wiki.exceltoquiz.com/uploads/images/gallery/2025-11/V8i8MTLNPrLdWDev-image.png)

<span data-as="p">Now input a few details for your new identity. Here’s some guidance for each field:</span>

- Name (required): A friendly name for the identity.
- Role (required): A role from the **Organization Roles** tab for the identity to assume. The organization role assigned will determine what organization level resources this identity can have access to.

<span data-as="p">Once you’ve created an identity, you’ll be prompted to configure the authentication method for it. Here, select **Kubernetes Auth**. We can delete the existing universal auth first.</span>

<span data-as="p">Run the bellow shell command to get infisical-token-reviewer-token, cluster end point, ca certificate in ca.crt file.</span>

```shell
kubectl get secret infisical-token-reviewer-token -n default -o=jsonpath='{.data.token}' | base64 --decode

kubectl cluster-info

kubectl config view --raw -o jsonpath='{.clusters[0].cluster.certificate-authority-data}' | base64 --decode > ca.crt
```

[![image.png](https://wiki.exceltoquiz.com/uploads/images/gallery/2025-11/scaled-1680-/yXKBDgixPZVD69vw-image.png)](https://wiki.exceltoquiz.com/uploads/images/gallery/2025-11/yXKBDgixPZVD69vw-image.png)

Allowed service name will be: <span style="background-color: rgb(241, 196, 15);">infisical-token-reviewer, infisical-service-account</span>

2\. Adding an identity to a project

<span data-as="p">To allow the operator to use the given identity to access secrets, you will need to add the identity to project(s) that you would like to grant it access to.</span><span data-as="p">To do this, head over to the project you want to add the identity to and go to Project Settings &gt; Access Control &gt; Machine Identities and press **Add identity**.</span><span data-as="p">Next, select the identity you want to add to the project and the project level role you want to allow it to assume. The project role assigned will determine what project level resources this identity can have access to.</span>

[![image.png](https://wiki.exceltoquiz.com/uploads/images/gallery/2025-11/scaled-1680-/kHZQMuob8UJmH4Fx-image.png)](https://wiki.exceltoquiz.com/uploads/images/gallery/2025-11/kHZQMuob8UJmH4Fx-image.png)

[![image.png](https://wiki.exceltoquiz.com/uploads/images/gallery/2025-11/scaled-1680-/RZZ10T4B3sMmH9jk-image.png)](https://wiki.exceltoquiz.com/uploads/images/gallery/2025-11/RZZ10T4B3sMmH9jk-image.png)

[REFERENCE](https://infisical.com/docs/integrations/platforms/kubernetes/infisical-secret-crd#authentication-kubernetesauth)