Skip to content

Commit

Permalink
Merge pull request #4749 from Sachin-Mamoru/add-secret-best-prac
Browse files Browse the repository at this point in the history
Add never log secret warning to the doc
  • Loading branch information
Sachin-Mamoru authored Oct 2, 2024
2 parents 8b99336 + eee0e25 commit 1067b06
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ There are two ways to add a conditional authentication script:
## Add a secret to the script
Secrets securely store values associated with external APIs. These secret values are used in conditional authentication scripts when {{ product_name }} is required to interact with an external API (service endpoint) during the authentication process. You can securely store these secret values on the {{ product_name }} Console and retrieve them whenever required for `callChoreo()` conditional authentication function.

!!! warning "Before you proceed"

When working with conditional authentication scripts, <b>never log secrets</b> or sensitive information within your authentication flows.

### Create a new secret

To add a new secret:
Expand Down Expand Up @@ -106,4 +110,4 @@ To delete an existing secret:

5. Select the checkbox and confirm your action.

{% endif %}
{% endif %}

0 comments on commit 1067b06

Please sign in to comment.