File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class CommandList extends CommandPolykey {
1919 this . addOption ( binOptions . nodeId ) ;
2020 this . addOption ( binOptions . clientHost ) ;
2121 this . addOption ( binOptions . clientPort ) ;
22- this . action ( async ( vaultPattern , options ) => {
22+ this . action ( async ( secretPath , options ) => {
2323 const { default : PolykeyClient } = await import (
2424 'polykey/dist/PolykeyClient'
2525 ) ;
@@ -52,8 +52,8 @@ class CommandList extends CommandPolykey {
5252 const secretPaths : Array < string > = [ ] ;
5353 const stream = await pkClient . rpcClient . methods . vaultsSecretsList ( {
5454 metadata : auth ,
55- nameOrId : vaultPattern [ 0 ] ,
56- secretName : vaultPattern [ 1 ] ?? '/' ,
55+ nameOrId : secretPath [ 0 ] ,
56+ secretName : secretPath [ 1 ] ?? '/' ,
5757 } ) ;
5858 for await ( const secret of stream ) {
5959 // Remove leading slashes
You can’t perform that action at this time.
0 commit comments