Sign inSign up

vorteil/gen-pw

By vorteil

Updated about 5 years ago

Image
0

1.8K

vorteil/gen-pw repository overview

Genpw

Generates a random password.

Direktiv

An example using this container with the following workflow on Direktiv.

id: genpw
description: Generates a random password
functions:
- id: genpw
  image: vorteil/gen-pw:v1
states:
- id: gen-password
  type: action
  action:
    function: genpw
    input:
      length: 10
      symbols: 0
      digits: 3
Input
  • length: the length you want the string to be
  • symbols: how many symbols do you want in the string?
  • digits: how many digits do you want in the string?
Ouput
{
    "password": "8cpPy43KmR"
}

Error

In the case that an error is encountered it will present in the following format:

{
    "errorCode": "com.genpw.error",
    "errorMsg": "Something went wrong"
}

Tag summary

Content type

Image

Digest

Size

2.3 MB

Last updated

about 5 years ago

docker pull vorteil/gen-pw