I'm trying to get a login token and then pass it to another job. To get the token I need to use the client_id and secret_key. I'm hoping to use the security in the connection object for this, and if not wondering if there is a way to pass the secret_key as an encrypted value?
Hi TonyaParnell609374 ,
Right now the WS SOAP agent supports Basic,Digest, NTLM and Kerberos.
Specifying Authentication Settings for RA Web Service SOAP Agent Connection Objects
The SW REST agent supports the following: Basic, Digest, NTLM OAuth 1.0a, OAuth 2.0 and AWS Signed URL.
Defining Resources for RA Web Service REST Agent Connection Objects
AuthZ would be an enhancement request.
Right now we have the 'Secret Access Key' if AWS Signed URL is used. This password is encrypted.
Or do you mean you want to encrypt the password first and then paste it in the field?
This does not work right now.
Please let us know if you haven any further questions.
I think I may have over complicated things. I believe we are using oauth 2.0, and what I'm trying to do is get a token using my client_id and client_secret and pass that token to a job.
I was looking for some clear documentation on how this might work, but I'm not really seeing anything. Is this something that is possible, without passing the id and key in plain text each time?
The client key and token are considered as "public", therefore they show in clear text. The client secret is the "confidential" part of OAuth, this value is encrypted.
The documentation should be provided from the RESTful API itself. Here's an example how to use OAuth 2.0 with Google's RESTful API.
Using OAuth 2.0 to Access Google APIs | Google Identity Platform | Google Developers
Or with SalesForce: Salesforce Developers
Did this answer your question?