# Password Encryptor(scram-sha-256)

When creating a new user in Postgres, there is a risk of password leakage in the logs. For more information on this topic, please watch <https://www.youtube.com/watch?v=RkzJXA1mKZI> &#x20;

You can avoid this situation by using KloudDB Shield to generate an encrypted password. Once the encrypted password is generated, you can create a new user as shown below

<figure><img src="https://3013412235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fj94nGPKUS9dlzKveRYHc%2Fuploads%2FwtumdJjvyPuHHAj94Gnf%2Fimage.png?alt=media&#x26;token=d739b64d-5de0-46c4-966e-0234c81f7f31" alt=""><figcaption></figcaption></figure>

**How do you generate encrypted password using KloudDB Shield ?**

You can use "Password Manager" Option followed by "Password generator" or  "Encrypt a password(scram-sha-256)"

<figure><img src="https://3013412235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fj94nGPKUS9dlzKveRYHc%2Fuploads%2FQa9NgDJ7NbpmVzL3MNKO%2Fimage.png?alt=media&#x26;token=0a2a02f9-9947-4f33-9e44-32ffc4346f39" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://klouddb.gitbook.io/klouddb_shield/password-encryptor-scram-sha-256.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
