Skip to content

Commit

Permalink
Prepare for release and update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrisztian committed May 16, 2023
1 parent 47c3cfe commit d545696
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ docker run -d -p 1717:1717 -v /path/to/gocd/cipher.aes:/config/cipher.aes:ro ghc
It provides the following entrypoints:

* GUI: <http://localhost:1717/secrets>
* REST: <http://localhost:1717/api/secrets>
* REST: <http://localhost:1717/secrets/api>

See "Generating secrets" on how to use these entrypoints.

Expand Down Expand Up @@ -80,12 +80,12 @@ follow the instructions in the form.

### Via REST

POST your secret to `http://localhost:1717/api/secrets/<tenant identifier>`.
POST your secret to `http://localhost:1717/secrets/api/<tenant identifier>`.

Example curl call:

```shell
curl 'http://localhost:1717/api/secrets/tenant1' -s -H 'Content-Type: text/plain' -d "my secret"
curl 'http://localhost:1717/secrets/api/tenant1' -s -H 'Content-Type: text/plain' -d "my secret"
```

The secret can be referenced in pipelines using the [secret param syntax](https://docs.gocd.org/current/configuration/secrets_management.html#step-4---define-secret-params).
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
apply from: 'https://raw.githubusercontent.com/gocd/gocd-plugin-gradle-task-helpers/75a8575/helper.gradle'

def baseGroup = 'com.vary.tenantsecrets'
def baseVersion = '0.0.5'
def baseVersion = '0.0.6'

subprojects {
apply plugin: 'jacoco'
Expand Down

0 comments on commit d545696

Please sign in to comment.