Giter VIP home page Giter VIP logo

agenix-cli's Introduction

agenix-cli

This project provides a binary, agenix, intended for use with https://github.com/ryantm/agenix and aims to provide a more sophisticated replacement for the shell script version of agenix.

Configuration

For an example configuration, check out the .agenix.toml.example file.

The basic layout is one [identities] TOML table and one or many [[paths]] TOML array-of-tables. The [identities] table is essentially an association of identity names (which can be anything that TOML itself supports as a key) to its public key.

NOTE: The given name is only so that you can use multiple keys for multiple globs (mentioned below) without having to copy-paste the key everywhere -- it holds no other meaning.

The [[paths]] array-of-tables contains two keys: glob and identities. glob is a a path glob agenix uses to match against, and identities is an array of identities (either specified by a name that is then looked up in the [identities] table, or the public key itself).

Usage

Using agenix is as simple setting up a configuration and then running agenix [file].

NOTE: If the specified file exists and was previously encrypted to an age identity, you must use the -i/--identity flag to specify the private key associated with that identity; otherwise, agenix will be unable to decrypt the contents.

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.