Git Product home page Git Product logo

emergency-credentials-receive's Introduction

emergency-credentials-receive

Guided wizard to receive and decrypt cluster emergency credentials from VSHN Passbolt and our emergency credentials buckets.

Usage

# Interactive mode
emergency-credentials-receive

# Non-interactive mode (after private key setup)
EMR_PASSPHRASE=$(pass vshn/passbolt) emergency-credentials-receive c-crashy-wreck-1234

Install from binary

Install the latest release for your arch and OS with the following command:

curl -s "https://raw.githubusercontent.com/vshn/emergency-credentials-receive/main/install.sh" | bash

# Guided setup
emergency-credentials-receive

Development

There are E2E tests in the e2e directory. They simulate user inputs using expect.

To run the tests you need your passbolt private key and the passbolt passphrase. Or you can use the test credentials from git.vshn.net. Note that the test credentials can only access a very limited set of test clusters. You can set them as environment variables:

export E2E_PASSBOLT_PASSPHRASE="..."
export E2E_PASSBOLT_PRIVATE_KEY="$(cat /path/to/private.key)"

Resources

emergency-credentials-receive's People

Contributors

bastjan avatar renovate[bot] avatar

Watchers

Simon Gerber avatar  avatar Tobias Brunner avatar Adrian Haas avatar  avatar

emergency-credentials-receive's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
Dockerfile
  • docker.io/library/alpine 3.19
github-actions
.github/workflows/build.yml
  • actions/checkout v4
  • actions/setup-go v5
.github/workflows/lint.yml
  • actions/checkout v4
  • actions/setup-go v5
.github/workflows/release.yml
  • actions/checkout v4
  • actions/setup-go v5
  • docker/setup-qemu-action v3
  • docker/setup-buildx-action v3
  • docker/login-action v3
  • mikepenz/release-changelog-builder-action v4
  • goreleaser/goreleaser-action v5
.github/workflows/test.yml
  • actions/checkout v4
  • actions/setup-go v5
gomod
go.mod
  • go 1.22
  • go 1.22.1
  • github.com/Masterminds/sprig/v3 v3.2.3
  • github.com/charmbracelet/bubbles v0.18.0
  • github.com/charmbracelet/bubbletea v0.25.0
  • github.com/charmbracelet/lipgloss v0.10.0
  • github.com/cli/cli/v2 v2.47.0
  • github.com/google/go-jsonnet v0.20.0
  • github.com/minio/minio-go/v7 v7.0.69
  • github.com/passbolt/go-passbolt v0.7.0
  • golang.org/x/term v0.19.0
  • gopkg.in/yaml.v3 v3.0.1
  • sigs.k8s.io/yaml v1.4.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.