name_only argument for ssoprofile

This commit is contained in:
Jay Lee
2022-11-29 14:43:25 +00:00
parent 3313295532
commit 9cacdd166f
2 changed files with 24 additions and 13 deletions

View File

@@ -696,17 +696,18 @@ jobs:
$gam user $gam_user delete shareddrive "${driveid}" nukefromorbit
echo "printer model count:"
$gam print printermodels | wc -l
$gam create inboundssoprofile name "El Goog ${newbase}" loginurl https://www.google.com logouturl https://www.google.com changepasswordurl https://www.google.com entityid ElGoog
$gam create inboundssocredential profile "El Goog ${newbase}" generate_key
$gam create inboundssoassignment profile "El Goog ${newbase}" orgunit "${newou}" mode SAML_SSO
ssoprofile=$($gam create inboundssoprofile name "El Goog ${newbase}" loginurl https://www.google.com logouturl https://www.google.com changepasswordurl https://www.google.com entityid ElGoog name_only)
$gam create inboundssocredential profile "id:~~${ssoprofile}~~" generate_key
$gam create inboundssoassignment profile "id:~~${ssoprofile}~~" orgunit "${newou}" mode SAML_SSO
$gam delete ou "${newou}"
$gam delete inboundssoprofile "id:~~${ssoprofile}~~"
#$gam print printers
#$gam create printer displayname "${newbase}" uri ipp://localhost:631 driverless description "made by $(gam_user)" ou /
#export CUSTOMER_ID="C01wfv983"
#export GA_DOMAIN="pdl.jaylee.us"
#touch $gampath/enabledasa.txt
#echo "using delegated admin service account"
#$gam print users
export CUSTOMER_ID="C01wfv983"
export GA_DOMAIN="pdl.jaylee.us"
touch $gampath/enabledasa.txt
echo "using delegated admin service account"
$gam print users
- name: Archive production artifacts
uses: actions/upload-artifact@v3