Skip to content

Update blobfuse2-commands-secure-decrypt.md #124852

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions articles/storage/blobs/blobfuse2-commands-secure-decrypt.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The following flags are inherited from grandparent command [`blobfuse2`](blobfus

| Flag | Short version | Value type | Default value | Description |
|--|--|--|--|--|
| disable-version-check | | boolean | false | Enables or disables automatic version checking of the BlobFuse2 binaries |
| disable-version-check | | boolean | false | Enables or disables automatic version checking of the blobfuse2 binaries |
| help | -h | n/a | | Help info for the blobfuse2 command and subcommands |

### Flags inherited from the BlobFuse2 secure command
Expand All @@ -36,18 +36,18 @@ The following flags are inherited from parent command [`blobfuse2 secure`](blobf

| Flag | Value type | Default value | Description |
|--|--|--|--|
| config-file | string | ./config.yaml | The path configuration file |
| output-file | string | | Path and name for the output file |
| passphrase | string | | The Key to be used for encryption or decryption<br />Can also be specified by environment variable BLOBFUSE2_SECURE_CONFIG_PASSPHRASE.<br />The key must be 16 (AES-128), 24 (AES-192), or 32 (AES-256) bytes in length. |
| config-file | string | ./config.yaml | The path of encrypted configuration file |
| output-file | string | | The path and name for the output decrypted configuration file |
| passphrase | string | | The key to be used for encryption or decryption<br />Can also be specified by environment variable BLOBFUSE2_SECURE_CONFIG_PASSPHRASE.<br />The key must be 16 (AES-128), 24 (AES-192), or 32 (AES-256) bytes in length. |

## Examples

> [!NOTE]
> The following examples assume you have already created a configuration file in the current directory.
> The following examples assumes that you have already created a encrypted configuration file in the current directory.

Decrypt a BlobFuse2 configuration file using a passphrase:

`blobfuse2 secure decrypt --config-file=./config.yaml --passphrase=PASSPHRASE`
`blobfuse2 secure decrypt --config-file=./config.yaml --passphrase=PASSPHRASE --output-file=./decryptedconfig.yaml`

## See also

Expand Down