Skip to content
This repository was archived by the owner on Mar 1, 2025. It is now read-only.

Commit 4cf0be1

Browse files
committed
rename storage override variable
1 parent 4686c0c commit 4cf0be1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Ensure that you also have the [1Password CLI](1password-cli) available as `op` v
1818

1919
Note that interactive execution is not supported for any of these scripts, since `op signin` is required for all scripts and itself requires interactive password input.
2020

21-
By default, the key storage location is `$TMPDIR/op-ssh-utils`, where `TMPDIR` defaults to `/dev/shm` or `/tmp`, whichever is available. The key storage location can be overridden for all commands with the `OP_KEY_STORAGE_LOCATION` environment variable.
21+
By default, the key storage location is `$TMPDIR/op-ssh-utils`, where `TMPDIR` defaults to `/dev/shm` or `/tmp`, whichever is available. The key storage location can be overridden for all commands with the `OP_SSH_STORAGEDIR` environment variable.
2222

2323
### Create a new SSH item in the vault
2424

common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if [ -d /dev/shm ]; then
55
else
66
default_tmpdir="/tmp"
77
fi
8-
export temp_storage_root="${OP_KEY_STORAGE_LOCATION:-${TMPDIR:-$default_tmpdir}/op-ssh-utils}"
8+
export temp_storage_root="${OP_SSH_STORAGEDIR:-${TMPDIR:-$default_tmpdir}/op-ssh-utils}"
99

1010
# Signs into `op` or exits the script
1111
function op_signin {

0 commit comments

Comments
 (0)