@grow-codes/hashicorp-vault - v0.1.1
    Preparing search index...

    Type Alias Capabilities

    Capabilities: Record<string, string[]> & {
        allows(path: string, capability: string): boolean;
    }

    Capabilities per requested path ({ "secret/data/app/db": ["read", "update"] }): a plain record with one non-enumerable helper, Capabilities.allows.

    Type Declaration

    • allows: function
      • Whether path grants capability: root grants everything; deny or a path that was not requested grants nothing. Surrounding slashes of path are ignored.

        Parameters

        • path: string
        • capability: string

        Returns boolean