Dokku Deployment Keys banner
cedricziel cedricziel

Dokku Deployment Keys

Development community

Description

Provides a Dokku Plugin for injecting SSH deployment keys as well as injecting hostkeys to the container

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

dokku deployment-keys [![Build Status](https://img.shields.io/github/actions/workflow/status/cedricziel/dokku-deployment-keys/ci.yaml?branch=master&style=flat-square "Build Status")](https://github.com/cedricziel/dokku-deployment-keys/actions/workflows/ci.yaml?query=branch%3Amaster) [![IRC Network](https://img.shields.io/badge/irc-libera-blue.svg?style=flat-square "IRC Libera")](https://webchat.libera.chat/?channels=dokku)

Manage SSH deployment keys that should get injected into your containers on-build

This is useful if you hide your sourcecode in private repositories at VCS providers such as GitHub or Bitbucket.

Requirements

  • dokku 0.19.x+
  • docker 1.8.x

Optionally, if you need host keys to be added, install the [host-keys plugin](https://github.com/cedricziel/dokku-hostkeys-plugin) as well.

Installation

# on 0.19.x+
sudo dokku plugin:install https://github.com/cedricziel/dokku-deployment-keys.git --name deployment-keys

Commands

deployment-keys:create  # create a pair of app-specific deployment keys
deployment-keys:delete  # delete the current pair of deployment keys
deployment-keys:shared       # shows the current shared public key
deployment-keys:show    # shows the current public key to add to your VCS
deployment-keys:status  # shows the current status of the deployment keys for an app

Usage

Help for any commands can be displayed by specifying the command as an argument to deployment-keys:help. Plugin help output in conjunction with any files in the `docs/` folder is used to generate the plugin documentation. Please consult the `deployment-keys:help` command for any undocumented commands.

Basic Usage

create a pair of app-specific deployment keys

# usage
dokku deployment-keys:create 

Create a pair of app-specific deployment keys:

dokku deployment-keys:create my-app

delete the current pair of deployment keys

# usage
dokku deployment-keys:d