github.com/rclone/rclone@v1.66.1-0.20240517100346-7b89735ae726/docs/content/commands/rclone_obscure.md (about)

     1  ---
     2  title: "rclone obscure"
     3  description: "Obscure password for use in the rclone config file."
     4  slug: rclone_obscure
     5  url: /commands/rclone_obscure/
     6  versionIntroduced: v1.36
     7  # autogenerated - DO NOT EDIT, instead edit the source code in cmd/obscure/ and as part of making a release run "make commanddocs"
     8  ---
     9  # rclone obscure
    10  
    11  Obscure password for use in the rclone config file.
    12  
    13  ## Synopsis
    14  
    15  In the rclone config file, human-readable passwords are
    16  obscured. Obscuring them is done by encrypting them and writing them
    17  out in base64. This is **not** a secure way of encrypting these
    18  passwords as rclone can decrypt them - it is to prevent "eyedropping"
    19  - namely someone seeing a password in the rclone config file by
    20  accident.
    21  
    22  Many equally important things (like access tokens) are not obscured in
    23  the config file. However it is very hard to shoulder surf a 64
    24  character hex token.
    25  
    26  This command can also accept a password through STDIN instead of an
    27  argument by passing a hyphen as an argument. This will use the first
    28  line of STDIN as the password not including the trailing newline.
    29  
    30      echo "secretpassword" | rclone obscure -
    31  
    32  If there is no data on STDIN to read, rclone obscure will default to
    33  obfuscating the hyphen itself.
    34  
    35  If you want to encrypt the config file then please use config file
    36  encryption - see [rclone config](/commands/rclone_config/) for more
    37  info.
    38  
    39  ```
    40  rclone obscure password [flags]
    41  ```
    42  
    43  ## Options
    44  
    45  ```
    46    -h, --help   help for obscure
    47  ```
    48  
    49  
    50  See the [global flags page](/flags/) for global options not listed here.
    51  
    52  # SEE ALSO
    53  
    54  * [rclone](/commands/rclone/)	 - Show help for rclone commands, flags and backends.
    55