Authentication

Authentication

is an option for cloud, web and SSH access functions that allows authentication parameters to be given.

Details

  • Possible settings for Authentication include:
  • Automaticbase authentication on CloudConnect credentials
    <|"Username",|>give explict username, etc. for authentication
    PermissionsKey["key"]give a permissions key for authentication
    SecuredAuthenticationKey[assoc]give an OAuth-secured authentication key
    associnsert specified explicit elements in the HTTP request
  • In the form Authenticationassoc, the association assoc can contain the following elements:
  • "Username"username to use for authentication
    "Password"password to use for authentication
    "Headers"list of headers to be sent to the server
    "Query"HTTP query string or list of parameter-value pairs
    "SSHKey"SSH identity
    "SSHKeyPassword"passphrase string to use to decrypt SSHKey
  • An SSH identity can be given in the form "SSHKey" File[ident], where ident is a file containing an SSH private key. It can also be given as "SSHKey" "string", where "string" is an SSH private key.

Examples

Basic Examples  (6)

Deploy a cloud object with permissions granted to a PermissionsKey:

Read the cloud object contents using a PermissionsKey for Authentication:

Copy a file from a remote machine using an identity file:

Connect to the Google Translate API, authenticating with an API key:

Connect to the Pushbullet API, authenticating with the user's access token sent in the request's header:

Connect to the Reddit API, authenticating using an OAuth 2.0 SecuredAuthenticationKey:

Connect to Twitter using ServiceConnect by providing a set of custom Twitter app credentials:

Wolfram Research (2016), Authentication, Wolfram Language function, https://reference.wolfram.com/language/ref/Authentication.html (updated 2019).

Text

Wolfram Research (2016), Authentication, Wolfram Language function, https://reference.wolfram.com/language/ref/Authentication.html (updated 2019).

CMS

Wolfram Language. 2016. "Authentication." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/Authentication.html.

APA

Wolfram Language. (2016). Authentication. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Authentication.html

BibTeX

@misc{reference.wolfram_2024_authentication, author="Wolfram Research", title="{Authentication}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/Authentication.html}", note=[Accessed: 08-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_authentication, organization={Wolfram Research}, title={Authentication}, year={2019}, url={https://reference.wolfram.com/language/ref/Authentication.html}, note=[Accessed: 08-December-2024 ]}