Giter Club home page Giter Club logo

kvsecrets's Introduction

Azure Key Vault Secrets Utility

This utility provides a command-line interface to interact with Azure Key Vault secrets. It allows you to list, show, get, and compare secrets stored in different Azure Key Vaults.

Features

  • List Secrets: List all secrets in a specified Key Vault.
  • Show Secrets: Display all secrets and their values in a specified Key Vault.
  • Get Secret: Retrieve the value of a specific secret from a Key Vault.
  • Diff Secrets: Compare secrets between two Key Vaults and display the differences.

Prerequisites

  • Azure CLI installed and configured.
  • Valid Azure subscription with access to the Key Vaults.

Installation

  1. Clone the repository:

    git clone https://github.com/cmdctl/kvsecrets.git
    cd kvsecrets
  2. Build the project:

    go build -o secrets

Usage

List Secrets

List all secrets in a specified Key Vault.

./secrets list <vault-name>

Show Secrets

Display all secrets and their values in a specified Key Vault.

./secrets show <vault-name>

Get Secret

Retrieve the value of a specific secret from a Key Vault.

./secrets get <vault-name> <key-name>

Diff Secrets

Compare secrets between two Key Vaults and display the differences.

./secrets diff <vault-name1> <vault-name2>

Examples

List Secrets

./secrets list my-vault

Show Secrets

./secrets show my-vault

Get Secret

./secrets get my-vault my-secret

Diff Secrets

./secrets diff my-vault1 my-vault2

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.


kvsecrets's People

Contributors

cmdctl avatar

Watchers

 avatar

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.