Using Credentials in Scripts
Quick Example
export PKFS_MASTER_KEY="AGE-SECRET-KEY-..."
export BBS_USERNAME=`gh warp vault get '(type:bitbucketserver).credentials.username'`
export BBS_PASSWORD=`gh warp vault get '(type:bitbucketserver).credentials.password'`
export BBS_URL=`gh warp vault get '(type:bitbucketserver).url'`
gh bbs2gh inventory-report --bbs-server-url $BBS_URL --bbs-username $BBS_USERNAME --bbs-password $BBS_PASSWORD --verboseQuery Syntax
General Format
gh warp vault get '(QUERY ELEMENTS)'[.EXTRACTION_PATH]Query Elements
Top-Level Properties
Data Path Elements
Optional Elements
Extraction Paths
Examples
Last updated
Was this helpful?