Skip to content

SecretHub v1.0.0-rc9

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 07 Jul 06:20

SecretHub v1.0.0-rc9

Artifacts

Core releases

  • secrethub_core-v1.0.0-rc9-linux-amd64.tar.gz
  • secrethub_core-v1.0.0-rc9-linux-arm64.tar.gz

Agent releases

  • secrethub_agent-v1.0.0-rc9-linux-amd64.tar.gz
  • secrethub_agent-v1.0.0-rc9-linux-arm64.tar.gz
  • secrethub_agent-v1.0.0-rc9-macos-amd64.tar.gz
  • secrethub_agent-v1.0.0-rc9-macos-arm64.tar.gz
  • secrethub_agent-v1.0.0-rc9-windows-amd64.zip
  • secrethub_agent-v1.0.0-rc9-freebsd-amd64.tar.gz

Docker images

  • ghcr.io/gsmlg-dev/secrethub/core:v1.0.0-rc9
  • ghcr.io/gsmlg-dev/secrethub/core-standalone:v1.0.0-rc9
  • ghcr.io/gsmlg-dev/secrethub/agent:v1.0.0-rc9

Deploy SecretHub Core

Docker with external PostgreSQL

docker run -d --name secrethub-core \
  -p 4664:4664 \
  -e PHX_HOST=secrethub.example.com \
  -e SECRET_KEY_BASE="$(openssl rand -base64 48)" \
  -e DATABASE_URL="postgresql://secrethub:password@postgres/secrethub_prod" \
  ghcr.io/gsmlg-dev/secrethub/core:v1.0.0-rc9

Docker standalone

docker run -d --name secrethub-core \
  -p 4737:4737 \
  -v secrethub-data:/data \
  -e PHX_HOST=localhost \
  -e SECRET_KEY_BASE="$(openssl rand -base64 48)" \
  ghcr.io/gsmlg-dev/secrethub/core-standalone:v1.0.0-rc9

Linux release tarball

tar -xzf secrethub_core-v1.0.0-rc9-linux-amd64.tar.gz -C /opt/secrethub-core
cd /opt/secrethub-core
export PHX_HOST=secrethub.example.com
export SECRET_KEY_BASE="$(openssl rand -base64 48)"
export DATABASE_URL="postgresql://secrethub:password@postgres/secrethub_prod"
bin/secrethub_core start

Deploy SecretHub Agent

Download the artifact matching the agent host OS and architecture, then configure it with the Core URL. The agent stores enrollment material under its default state directory.

tar -xzf secrethub_agent-v1.0.0-rc9-linux-amd64.tar.gz -C /opt/secrethub-agent
cd /opt/secrethub-agent
export SECRET_HUB_AGENT_CORE_URL=https://secrethub.example.com
bin/secrethub_agent start

For Windows:

Expand-Archive .\secrethub_agent-v1.0.0-rc9-windows-amd64.zip -DestinationPath C:\SecretHubAgent
$env:SECRET_HUB_AGENT_CORE_URL = "https://secrethub.example.com"
C:\SecretHubAgent\bin\secrethub_agent.bat start

Install SecretHub CLI

The secrethub_cli package is published to Hex.pm by this workflow.

mix local.hex --force
mix escript.install hex secrethub_cli 1.0.0-rc9
secrethub version

Notes

Full changelog: v1.0.0-rc8...v1.0.0-rc9