# Secrets

### What is the Secrets feature:

A feature developed by Pier Cloud that allows you to register all the keys that will be used in connections and that cannot be visible for security reasons.

### How to use the Secrets feature:

1. "The system will display the side menu with configuration options. Select **"Secrets"**:

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2Fax1u4Mx3H3LBi0rm2iit%2Fimage.png?alt=media&#x26;token=84dbea24-5ba9-41c7-9ea5-dc3a50b2ecc4" alt=""><figcaption></figcaption></figure>

* On the main screen, the system allows you to view the registered Secrets and add new ones by clicking the "**Add**" button:

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FYfIKo2rI1kKK2KmRWtCf%2Fimage.png?alt=media&#x26;token=bbe17a91-8426-4370-8ca0-f32b0c6e6664" alt=""><figcaption></figcaption></figure>

4. The screen for registering new Secrets will be displayed, where you will need to enter the following information:

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FAWi1rdun9TXd0QwXgKda%2Fimage.png?alt=media&#x26;token=b299e628-7e10-4407-963f-351ce8a87be0" alt=""><figcaption></figcaption></figure>

* **Name**: Enter the name of the Secret you wish to register

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FrbAY6f0VNZRrCXFfl4mJ%2Fimage.png?alt=media&#x26;token=b132a88d-9aac-4e33-ad8f-5aa0c32052e3" alt=""><figcaption></figcaption></figure>

* Type: Select the type of secret according to the connection that will be made on the platform.

For more details on connection types, see full documentation by clicking [here](https://docs.piercloud.com.br/plataforma-de-finops/finops-platform-english/platform-integrations/integrations-with-observability-platforms)!

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FuZmnrVngwqFwyHvGqp9y%2Fimage.png?alt=media&#x26;token=522107d0-713f-4d3e-a727-0ea9f4b3841d" alt=""><figcaption></figcaption></figure>

5. **Actions**

The system also allows you to perform some actions for each registered Secret:

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FL2kSYTx4lMafYTSyUqjA%2Fimage.png?alt=media&#x26;token=d16e2cd0-7f3b-4771-a53b-7941439bb7bb" alt=""><figcaption></figcaption></figure>

* **Remove**: By clicking on the "![](https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FbClWvxMEW1YGsyMIgtu9%2Fimage.png?alt=media\&token=77362fe5-8928-481c-a35c-456dcc727c4b)" icon, you can remove the registered Secret.  \
  The system will display a message to confirm the deletion.

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2F3JPFQ22LZR3QUX2vRDpb%2Fimage.png?alt=media&#x26;token=42d58b4f-b830-4a9a-8f79-1d92add802d7" alt=""><figcaption></figcaption></figure>

By checking the checkbox, the button to complete the action and return to the main screen will be enabled.

* **View**: By clicking on the Secret, the system will open a screen to view more information about the secret.

The view option only allows access to the first 7 characters of each field.

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FsTjcbkeUiXUkI610jfOz%2Fimage.png?alt=media&#x26;token=bb39744b-8ef9-43fe-91de-f1ff0c9bd66c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FQTYTCG60Fumen7jy09PH%2Fimage.png?alt=media&#x26;token=c1ead43a-9837-42ce-ac3b-2341a55b364f" alt=""><figcaption></figcaption></figure>
