Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
377 B
Bash
Raw Permalink Normal View History

# Copyright IBM Corp. 2020, 2026
2022-08-05 18:17:07 -04:00
# SPDX-License-Identifier: BUSL-1.1
2023-02-02 17:15:17 -08:00
function login() {
2022-08-05 18:17:07 -04:00
export BP="${DEFAULT_PASSWORD}"
boundary authenticate password -auth-method-id $DEFAULT_AMPW -login-name $1 -password env://BP
}
function login_ldap() {
export BP="${DEFAULT_PASSWORD}"
boundary authenticate ldap -auth-method-id $DEFAULT_AMPW -login-name $1 -password env://BP
}