feat(cli): Add password credential CLI commands (#6117)

This commit is contained in:
Bharath Gajjala committed 2025-11-13 12:28:04 -08:00
1 parent 11c4fd7580
commit d4f7bd55d1
11 files changed
+676 -84

No files matched your search

@@ -63,6 +63,19 @@ function create_json_credential() {
$args
}
function create_password_credential() {
local name=$1
local sid=$2
local pass=$3
export BP="${pass}"
boundary credentials create password \
-name $name \
-description 'test password credential' \
-credential-store-id $sid \
-password env://BP
}
function read_credential() {
boundary credentials read -id $1 -format json
}