Skip to content

Commit

Permalink
Clarify user credentials parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Sicker <boards@gmail.com>
  • Loading branch information
jvz committed Aug 2, 2019
1 parent 7683427 commit dfd8f6e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/user.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1521,7 +1521,10 @@ The list of available credentials will depend on a number of factors:

[WARNING]
====
Credentials parameters can only access user credentials if the corresponding user is the one who chooses them during a build.
Builds can only resolve user credentials if their owner provides them as a credentials parameter value.
The triggering user has access to provide their own user credentials as build parameters.
Credentials parameters can also be attached to a build by a plugin with an optional user ID which simulates the same.
These credentials parameters are scoped to their submitting users only for that build.
Downstream jobs will be passed the credentials ID but will not be passed access to the user's per-user credentials store.
This restriction is to prevent a malicious actor adding a hidden job as a downstream job and thereby gaining access to the per-user credentials store.
Expand Down

0 comments on commit dfd8f6e

Please sign in to comment.