GithubHelp home page GithubHelp logo

carlnordenfelt / lulo-plugin-string-generator Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 280 KB

Generates a secret and stores it securely in Parameter Store

License: MIT License

JavaScript 100.00%

lulo-plugin-string-generator's Introduction

lulo-plugin-string-generator

npm version Build Status Coverage Status Known Vulnerabilities

lulo String Generator generates a random string given the provided length.

Used together with _NoEcho it provdies a simple way to generate keys and passwords via CloudFormation.

lulo String Generator is a lulo plugin

Installation

npm install lulo-plugin-string-generator --save

Usage

Properties

  • Length: The length of the string (Bytes). Default is 128 which is the equivalent of a 256 character string.
  • _NoEcho: _NoEcho is a CustomResource feature that Lulo implements. Use this if you are generating strings that are sensitive, such as keys or passwords, to ensure that they do no leak. Simple set _NoEcho to true.

Updates

Since the only property that can be changed is the length the secret will be regenerated for any update.

Return Values

!GetAtt 'MyStringResource.String' will give the string.

Example

Resources:
    MyString:
        Type: Custom::StringPlugin
        Properties:
            ServiceToken: lambda:arn
    MySecretString:
        Type: Custom::StringPlugin
        Properties:
            ServiceToken: lambda:arn
            Length: 256
            _NoEcho: true

Required IAM Permissions

The Custom Resource does not require any permissions

License

The MIT License (MIT)

Change Log

Change Log

lulo-plugin-string-generator's People

Contributors

carlnordenfelt avatar

Stargazers

 avatar

Watchers

 avatar  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.