Skip to content

Commit

Permalink
Updating readme and workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kingcdavid committed Mar 27, 2024
1 parent 8ff2420 commit 8c53714
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
on:
push:
tags:
- '*'
name: Build
name: Build and Publish

on: workflow_dispatch

jobs:
test:
strategy:
Expand All @@ -21,11 +20,14 @@ jobs:
shell: bash
run:
./scripts/build-all-arch.sh
- name: Set version
run: |
VER=$(cat version.txt)
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: release/atlas-*
tag: v1.0.1
overwrite: true
tag: $VER
overwrite: false
file_glob: true
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# GlobalSign Atlas Certificate Provider Plugin for Hashicorp Vault
# GlobalSign Atlas Certificate Provider Plugin for Hashicorp Vault

`atlas-hashicorp-vault` plugin lets you manage issue GlobalSign Atlas backed certificates in vault.

Expand All @@ -8,7 +8,7 @@
- [Releases](https://github.com/globalsign/atlas-hashicorp-vault/releases)

## Demo
[![asciicast](https://asciinema.org/a/K5k9khe33IN7Ewot6yMN6yjBB.svg)](https://asciinema.org/a/K5k9khe33IN7Ewot6yMN6yjBB)
[![asciicast](https://asciinema.org/a/K5k9khe33IN7Ewot6yMN6yjBB.svg)](https://asciinema.org/a/K5k9khe33IN7Ewot6yMN6yjBB)
## Installation

Before you can use the Plugin's API you will need to install the vault plugin:
Expand All @@ -22,10 +22,17 @@ _**(Note: We have automated most of these steps and user can directly navigate t
plugin are released.

```bash
$ curl https://github.com/globalsign/atlas-hashicorp-vault/releases/download/v1.0/atlas-linux-amd64 -o /etc/vault/vault_plugins/atlas
$ curl https://github.com/globalsign/atlas-hashicorp-vault/releases/latest/download/atlas-linux-amd64 -o /etc/vault/vault_plugins/atlas
$ chmod +x /etc/vault/vault_plugins/atlas
```

note: the above binary works was built on an ubuntu base, if you want to are running in containers, you probably want to use this one
https://github.com/globalsign/atlas-hashicorp-vault/releases/latest/download/atlas-linux-containers

These links above will get the latest binary, if you want to pin to a specific one, use a URL like to following

https://github.com/globalsign/atlas-hashicorp-vault/releases/download/v1.0/atlas-linux-amd64

3. Update the Vault [server configuration](https://www.vaultproject.io/docs/configuration/)
to specify the plugin directory:

Expand Down

0 comments on commit 8c53714

Please sign in to comment.