Skip to content

Instantly share code, notes, and snippets.

View JosephAllen's full-sized avatar

Joseph JosephAllen

View GitHub Profile
@JosephAllen
JosephAllen / az-cli-msal-move.md
Created November 30, 2021 15:57
Simple method to secure Azure CLI
REM ### Move a copy of msal_token_cache.bin to the .azure home directory
copy %HOMEPATH%\Documents\msal_token_cache.bin %HOMEPATH%\.azure /y
REM ### RUN az commands here
az account get-access-token
REM ### delete the default msal_token_cache.bin
del %HOMEPATH%\.azure\msal_token_cache.bin
@JosephAllen
JosephAllen / auth.md
Created May 6, 2020 18:26
SFDX Auth Reformatted Example

auth Commands

Use the auth commands to authorize a Salesforce org for use with the Salesforce CLI.

Command Purpose
auth:jwt:grant Authorizes a Salesforce org using the JWT flow.
auth:logout Logs you out from one or all of your authorized Salesforce orgs.
auth:sfdxurl:store Authorizes a Salesforce org using an SFDX auth URL.
auth:web:login Authorizes a Salesforce org by opening a browser so you can log in through salesforce.com.
@JosephAllen
JosephAllen / TriggerFramework-SFDC.md
Last active April 30, 2023 08:29
Salesforce Trigger Framework