You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cp command can copy secrets across local file system and a vault seamlessly. However, cp will not create target directories if they don't exist. More importantly, the file permissions would probably be the default permissions, something like this '-rw-r--r--'. This might not be what is desired.
This is solved by using the install command, which is able to create target directories if they don't exist (with a flag, -D --directories), and is able to set file permissions immediately on egress from the vault using the -m --mode flag. This can all be probably extended to take either an octal permission (like 755) or a string (like rw-rw-r--).
Additional context
Tasks
Create secrets install
Implement option install --directories
Implement egress permissions (--mode)
The text was updated successfully, but these errors were encountered:
Specification
The
cp
command can copy secrets across local file system and a vault seamlessly. However,cp
will not create target directories if they don't exist. More importantly, the file permissions would probably be the default permissions, something like this'-rw-r--r--'
. This might not be what is desired.This is solved by using the
install
command, which is able to create target directories if they don't exist (with a flag,-D --directories
), and is able to set file permissions immediately on egress from the vault using the-m --mode
flag. This can all be probably extended to take either an octal permission (like755
) or a string (likerw-rw-r--
).Additional context
Tasks
secrets install
install --directories
--mode
)The text was updated successfully, but these errors were encountered: