Skip to content

Commit

Permalink
docs(nx-cloud): update security scenarios docs
Browse files Browse the repository at this point in the history
  • Loading branch information
StalkAltan authored and vsavkin committed Nov 17, 2023
1 parent 94d8514 commit 2133b8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/nx-cloud/concepts/scenarios.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Security Scenarios

{% callout type="warning" title="Use Caution With Read-Write Tokens" %}
Read-write tokens allow full write access to your remote cache. They should only be used in trusted environments. For instance, open source projects should only use read-write tokens as secrets configured for protected branches (e.g, main). Read-only tokens should be used in all other cases.
{% /callout %}

The following are the three commonly used setups.

## Setup 1: Only main branch has a read-write access token
Expand Down

0 comments on commit 2133b8b

Please sign in to comment.