mssparkutils.credentials.getToken: Get AAD token for a resource.

mssparkutils.credentials.getTokenR Documentation

Get AAD token for a resource.

Description

Get AAD token for a resource.

Usage

mssparkutils.credentials.getToken(audience, name = "")

Arguments

audience

token audience.

name

token audience.

Value

A empty string used to mimic token returned by azure synapse runtime for accessing resource audience.

Examples

mssparkutils.credentials.getToken('synapse')
mssparkutils.credentials.getToken('storage')
mssparkutils.credentials.getToken('storage', 'storage')


notebookutils documentation built on May 29, 2024, 12:08 p.m.