Refactor ftl secret --op
so that it manages writes as well
#1537
Labels
good first issue
Good for newcomers
ftl secret --op
so that it manages writes as well
#1537
Currently (by design) the 1Password secret provider requires references to existing password entries. This was by design to allow use of existing passwords, but it turns out that in practice this is both tedious and not used much. Let's change how this works such that 1Password works like all the other providers, managing setting the secrets directly as well. It might be easiest to just convert the existing
To:
Usage would then be something like this:
It would continue to prompt for the password if reading from stdin.
This would internally use the op referenceThe reference inop://myVault/module.secretName/secret
or similar.ftl-project.toml
is now in the format ofop://vault
with no reference to 1password items or fields.Similarly,
get
will now assume the secret location based on the module name:This will look in the "myVault" vault for an entry called "module.secretName".
The text was updated successfully, but these errors were encountered: