nathanmcnulty/Passkey Login

Reusable GitHub Action to obtain an ESTS authentication cookie from an Entra passkey, preferring Azure Key Vault-backed signing and falling back to a local private key.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
credential-idFIDO2 CredentialId (base64url or UUID)yes
private-keyLocal private key in PEM format or base64 encoded. Prefer Azure Key Vault instead.no
user-handleFIDO2 UserHandle (base64url)yes
user-principal-nameUser principal name (UPN) to authenticate (e.g. user@domain.com)yes
key-vault-nameAzure Key Vault name holding the signing key for the passkey.no
key-vault-key-nameAzure Key Vault key name used to sign the passkey assertion.no
key-vault-access-tokenPre-obtained Key Vault access token. Usually not needed when azure/login has already run.no
key-vault-client-idFallback service principal client ID for Key Vault access when not using azure/login.no
key-vault-client-secretFallback service principal client secret for Key Vault access when not using azure/login.no
key-vault-tenant-idTenant ID for Azure CLI token scoping or service principal fallback.no
auth-urlOptional override for the Entra authorize URL.no
proxyOptional proxy URL for outbound requests.no
export-auth-cookieWhen true, masks and exports the authenticated ESTS cookie as an action output for later steps. Enabled by default because this action exists to obtain that cookie.notrue
namedescription
authenticatedTrue when the script verified an authenticated ESTS cookie.
cookie-nameThe ESTS cookie name returned by Entra when authentication succeeds.
user-principal-nameThe authenticated user principal name.
signature-methodThe signature method used for the FIDO assertion.
key-vault-nameThe Key Vault used for signing, when applicable.
auth-cookieThe masked ESTS cookie value unless export-auth-cookie is set to false.