Skip to main content

Provide Credentials

This example shows how to provide credentials for API authentication.

# Set credentials

aad_app_secretsvf_token = os.getenv('AAD_APP_SECRETS'VF_USER_TOKEN')
if (aad_app_secrets!vf_token!=None):
    vf.set_file_credentials(aad_app_secrets)token=vf_token

You can copy the token from your profile in the Developer tab, as shown below:

image.png