cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Uploading dSYM files automatically

Hi, 

I am trying to upload the dSYM files automatically in the pipeline by hitting the Appdynamics REST APIs. Would like to know, how can I do it using API tokens? 

1. I want to generate the token using Appdynamics REST API.  

  • The token generation API requires both an authentication header with username and password as well as the oAuth request body to successfully request a token.
    • We use only SAML login. Do I need to create a local account for this purpose?
  • Then, how long the API token can live?

2. API Clients (appdynamics.com) When I generate the token via Admin UI, it shows the max is 30days. Then it needs to be regenerated.  Any comments on it?

Appreciate your inputs on this. 

Thanks, 

Viji

 

 

3 REPLIES 3

Cansel.OZCAN
Architect

Hi Cansel, 

Thanks for your response. 

Yes, we are uploading the dSYM files as part of build. 

I have referred the documents which you shared. 

For iOS, 

curl -v -H Content-Type:application/octet-stream --upload-file UISampleApp.app.dSYM.zip --user Example account:Example-License-Key-4e8ec2ae6cfe https://fra-api.eum-appdynamics.com/v2/account/Example+account/ios-dsym

This looks like HTTP basic authentication to me.

It requires only the account name and license key to authenticate ? Does it not need any user credentials ? 

Then, there is no need of generating and using API tokens. Am I right? 

Thanks, 

Viji

 

@Cansel.OZCAN  Do you have any comments on my previous message?

Join Us On December 10
Learn how Splunk and AppDynamics are redefining observability


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here
Top Kudoed Authors