Generates a random password.
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
{
"password": "8cpPy43KmR"
}
In the case that an error is encountered it will present in the following format:
{
"errorCode": "com.genpw.error",
"errorMsg": "Something went wrong"
}
Content type
Image
Digest
Size
2.3 MB
Last updated
about 5 years ago
docker pull vorteil/gen-pw