question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for editing vaults

See original GitHub issue

As the title probably needs not more explanation, I should mention that there are already 4 extensions on vscode marketplace related to vault editing. Looking at them I noticed a pattern where almost each of them seems to be a fork of a previous one. I suspect what caused it is that original creator lost interest in maintaining it.

Instead of cluttering the marketplace with yet another extension that aims to address the same issue, I am inclined to see if one of the authors of these extensions is willing to join efforts and transition this feature into our extension, so we can have less extensions but better maintained.

Identified extensions:

Vaulting use-cases

There are lots of way of working with secrets in Ansible and we will not be able to cover all from start, still we should document each one we identify and mention if they are supported or not, also allowing us to create tests for them later.

  • single vault defined inside ansible.cfg: vault_identity_list = .pass or alternatives that can use names like foo@.pass or default@.pass. Ansible encrypts and decrypts files without any prompts in this case, it does not expect passsing a vault id.
  • multiple vaults defined inside ansible.cfg: vault_identity_list = foo@.pass bar@.pass2. Ansible will try to guess decryption key to use if the encrypted text does not mention the name. Still encrypting requires mentioning the vault id.
  • no vault_identity_list defined but ansible_password_file is defined, which points to the file with the secret.
  • vault files that are executable … (TBD)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:6
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
FlorianLaunaycommented, Apr 23, 2021

@ssbarnea @JPinkney PR is ready for review 😉

0reactions
FlorianLaunaycommented, Apr 23, 2021

Branch is pushed and PR #78 is opened as draft. I will let you take a look. I have proposed a new release : 0.4.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding, Removing and Editing Vault Users - CDD Support
Vault administrators can click the "Add a member" button in the Members menu of the Settings > Vault tab to add new users ......
Read more >
Please add --description to op edit vault
Can you please add --description as a flag for the op edit vault command? (https://support.1password.com/command-line-reference/#edit-vault)
Read more >
Edit an Item | Vault Products 2022
Edit opens an item record so you can: Modify the title and description fields. Add, remove, and modify user-defined properties.
Read more >
Editing Binders - Vault Help
The ability to edit binders requires the Edit Document permission. To open edit mode, click Edit ... To add documents that are already...
Read more >
Font Toolbar in Vault BEE Editor Obscures Text
Overview: The user is editing in the BEE Editor. If the content extends to fill the screen, the font toolbar moves to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found