Code Monkey home page Code Monkey logo

octopus-config-exporter's Introduction

Octopus Config Exporter

CLI NuGet

Why this tool?

When you have to deal with a complex application settings, enter manually this variable into the the Octopus UI can be painful. Also mistake or bad copy paste can happen. This tool allow you to export your appsettings json variable into your octopus project.

WARNING: if you are dealing with sensitive value like password, credentials. Don't put this value in your appsettings file (that maybe can be commited into your VCS), instead just put a placeholder value that you can replace later in the octopus UI.

Prerequisites

.NET 6 SDK or later

Installation

dotnet tool install --global Octopus.Config.Exporter.Cli

How to use it

 USAGE: octopus-config-exporter [--help] --octopusserver <server> --octopusapikey <apiKey>
                                --octopusproject <projectName> [--prefix <prefix>] [--scope <prefix>]
                                [--nosecure] <path>

CONFIGFILE:

    <path>                specify a json config file to export

OPTIONS:

    --octopusserver <server>
                          specify a the address of the octopus server (can also be set with OCTOPUS_SERVER
                          environnment variable)
    --octopusapikey <apiKey>
                          specify your api key (can also be set with OCTOPUS_API_KEY environnment variable)
    --octopusproject <projectName>
                          specify the project name (can also be set with OCTOPUS_PROJECT_NAME environnment
                          variable)
    --prefix <prefix>     specify the prefix of Env Var (can also be set with OCTOPUS_PREFIX environnment
                          variable)
    --scope <prefix>      scope for applying config
    --nosecure            display sensitive data
    --help                display this list of options.

WARNING

Datetime variable didn't work correctly.

octopus-config-exporter's People

Contributors

dependabot[bot] avatar etiennefab4 avatar etiennepierrot avatar

Stargazers

 avatar

Watchers

 avatar  avatar

octopus-config-exporter's Issues

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.