Skip to content

Commit

Permalink
add section for UUID to docs, as per suggestion from @jhoblitt
Browse files Browse the repository at this point in the history
  • Loading branch information
madAndroid committed Aug 9, 2015
1 parent 39b7bb6 commit cff1113
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,24 @@ private key:
}
```

*_Setting a UUID:_*

You can also specify a UUID to use with the credentials, which will be used to
identify the credentials from within the job config. This is necessary when setting
credentials for use with the [git plugin](http://docs.openstack.org/infra/jenkins-job-builder/scm.html#scm.git), for example.

You can either manually generate a UUID from a site like https://www.uuidgenerator.net,
or use the UUID from an existing user, which is accessible within the URL of the
Jenkins console when managing an existing user's credentials.

```puppet
jenkins::credentials { 'deploy-user':
password => '',
private_key_or_path => hiera('::deploy_key'),
uuid => hiera('::deploy_credentials_uuid'),
}
```

### Configuring Security

The Jenkins security model can be set to one of two modes:
Expand Down

0 comments on commit cff1113

Please sign in to comment.