-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
developmentStandard developmentStandard development
Description
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 (like 755) or a string (like rw-rw-r--).
Additional context
Tasks
- Create
secrets install - Implement option
install --directories - Implement egress permissions (
--mode)
Metadata
Metadata
Assignees
Labels
developmentStandard developmentStandard development