Skip to content

Support for Creating and listing vaults #50

Open
@leecookson

Description

@leecookson

Use Case

We have a service wrapper for AWS secrets manager. As we add and update these secrets, which are used to validate client-specific access keys, we would like to create a vault and add the secrets to the new vault, or update existing secrets in those vaults. The vaults would be shared to other teams within our organization.

Listing items within a specific vault would also be needed, so we don't create duplicate items from the service.

Requirements and desired behavior

Generally, would assume the new API's supported by this SDK would work consistently with the existing ones.

The resolve feature seems like it could do this by using shorter paths, but it requires at least a specific vault, item and field.
Examples:
op:// could return a lis of all vaults
op://<vaultID> can return any attributes of the vault itself
op://<vaultID>/ could return a list of items within that vault

Otherwise, a more explicit API like this would be good
client.listVaults
client.getVaultDescription
client.listVaultItems

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions