The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Mojolicious::Command::credentials - Manage your app's credentials

VERSION

version 0.006

SYNOPSIS

Usage: myapp credentials <command> <arg>

 The credentials helper installed on your app will be used to manage credentials
 for your application. See Mojolicious::Plugin::Credentials for more info.

 # To edit a credentials entry simply do
 ./myapp.pl credentials edit some-name

DESCRIPTION

This allows you to interact with your applications credentials store. It has a number of subcommands:

edit <name>

This will open an editor for you to edit the contents of a credentials entry.

It will optionally take the following arguments:

  • --editor will set the editor used. This defaults to the environmental variable EDITOR if defined.

  • --yaml will cause credentials to verify the file is valid YAML (and potentially tell the editor it's YAML)

show <name>

This shows

list

This will return a list of all entries in the credentials store.

remove <name>

This will remove the named entry.

recode

This wil ask you for a new (hex encoded) key, and will re-encrypt the entire store using that new key.

AUTHOR

Leon Timmermans <fawaka@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2024 by Leon Timmermans.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.