EnglishFrenchSpanish

OnWorks favicon

secret-tool - Online in the Cloud

Run secret-tool in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command secret-tool that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


secret-tool - Store and retrieve passwords

SYNOPSIS


secret-tool store --label='Label' {attribute} {value} ...

secret-tool lookup {attribute} {value} ...

secret-tool clear {attribute} {value} ...

secret-tool search [--all]{attribute} {value} ...

DESCRIPTION


secret-tool is a command line tool that can be used to store and retrieve passwords.

Each password is stored in an item. Items are uniquely identified by a set of attribute
keys and values. When storing a password you must specify unique pairs of attributes names
and values, and when looking up a password you provide the same attribute name and value
pairs.

STORE


To store a password run secret-tool with the store argument. You must also specify a label
for the passward with the --label argument. This label will be displayed in the password
manager.

Make sure to pass a unique set of attributes names and values when storing a password. If
the attributes match an already existing item, it will be updated instead of creating a
new item.

If invoked from a terminal or tty, then the password to store will be prompted for and
only one line will be accepted.

A password to store can also be piped in via stdin. The password will be the contents of
stdin until EOF. If you provide a newline via stdin it will be stored as part of the
password.

LOOKUP


To lookup a password run secret-tool with the lookup argument. Specify the same same
attribute names and value pairs that you passed when storing the password.

If multiple items match the attribute provided, then the first password that is already
unlocked will be returned. If necessary an item will be unlocked.

When printing the password to a terminal or tty, an extra newline will be added after the
password.

CLEAR


To remove a password run secret-tool with the clear argument. Specify the same attirbute
name and value pairs that you passed when storing the password.

All unlocked items that match the attributes will be removed.

SEARCH


This command searches for and prints details on matching items in secret service. Specify
the same attribute and value pairs that you passed in when storing the password. You can
use the following options:

--all
Return all matching results, rather than just the one of the matches. Without this
option, the first unlocked match returned from the service will be printed.

--unlock
Unlock items that are locked and then print out their details. Without this option,
locked items are skipped.

EXIT STATUS


On success 0 is returned, a non-zero failure code otherwise.

EXAMPLES


Example 1. Storing, retrieving, and clearing a password

$ secret-tool store --label='My password' key1 value1 key2 value2
Password: My password

$ secret-tool lookup key1 value1 key2 value2
My password

$ secret-tool clear key1 value1 key2 value2

Use secret-tool online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

Ad